IGradientBrush class

IGradientBrush class

Declare methods for getting common properties of gradient brushes.

The IGradientBrush type exposes the following members:

Properties

PropertyDescription
interpolation_colorsGets or sets the interpolation colors that defines a multicolor linear gradient.
blend_positionsGets or sets the blend positions that define a custom falloff for the gradient.
blend_factorsGets or sets the blend factors that define a custom falloff for the gradient.
transformation_matrixGet the transform. The transform defines a local geometric transform for this brush.
spread_modeGets or sets the SpreadMode mode. SpreadMode mode specifies how a texture or gradient is tiled
when it is smaller than the area being filled.
typeGets type of brush as BrushType.
supports_shaderChecks if the brush supports a shader.

Methods

MethodDescription
to_nativeConverts the brush to a native representation.

See Also