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
std::optional< Rect > GetCoverage(const Entity &entity) const override
Get the screen space bounding rectangle that this contents affects.
void SetRRect(std::optional< Rect > rect, Scalar corner_radius=0)
~SolidRRectBlurContents() override