bool ApplyColorFilter(const ColorFilterProc &color_filter_proc) override
If possible, applies a color filter to this contents inputs on the CPU.
void SetTileMode(Entity::TileMode tile_mode)
void SetColors(std::vector< Color > colors)
void SetCenterAndAngles(Point center, Degrees start_angle, Degrees end_angle)
~SweepGradientContents() override
const std::vector< Scalar > & GetStops() const
void SetStops(std::vector< Scalar > stops)
std::function< Color(Color)> ColorFilterProc
bool IsOpaque() const override
Whether this Contents only emits opaque source colors from the fragment stage. This value does not ac...
bool Render(const ContentContext &renderer, const Entity &entity, RenderPass &pass) const override
const std::vector< Color > & GetColors() const