void SetSigma(Sigma sigma)
void SetColor(Color color)
Draws a fast solid color blur of an rounded rectangle. Only supports RRects with fully symmetrical ra...
std::function< Color(Color)> ColorFilterProc
bool ApplyColorFilter(const ColorFilterProc &color_filter_proc) override
If possible, applies a color filter to this contents inputs on the CPU.
bool Render(const ContentContext &renderer, const Entity &entity, RenderPass &pass) const override
void SetRRect(std::optional< Rect > rect, Size corner_radii={})
std::optional< Rect > GetCoverage(const Entity &entity) const override
Get the area of the render pass that will be affected when this contents is rendered.
~SolidRRectBlurContents() override