Class GorgonGlyphPathGradientBrush
A brush that paints the font glyphs using a gradient that follows a specific path.
Inherited Members
Namespace: Gorgon.Graphics.Fonts
Assembly: Gorgon.Graphics.Fonts.dll
Syntax
public class GorgonGlyphPathGradientBrush : GorgonGlyphBrush, IGorgonCloneable<GorgonGlyphBrush>, IEquatable<GorgonGlyphBrush>
Remarks
This allows glyphs to be drawn using multiple colors that fade into one another.
Constructors
| Edit this page View SourceGorgonGlyphPathGradientBrush()
Initializes a new instance of the GorgonGlyphPathGradientBrush class.
Declaration
public GorgonGlyphPathGradientBrush()
See Also
Properties
| Edit this page View SourceBlendFactors
Property to return the list of blending factors for the gradient falloff.
Declaration
public IList<float> BlendFactors { get; }
Property Value
Type | Description |
---|---|
IList<float> |
See Also
| Edit this page View SourceBlendPositions
Property to return the list of blending positions for the gradient falloff.
Declaration
public IList<float> BlendPositions { get; }
Property Value
Type | Description |
---|---|
IList<float> |
See Also
| Edit this page View SourceBrushType
Property to return the type of brush.
Declaration
public override GlyphBrushType BrushType { get; }
Property Value
Type | Description |
---|---|
GlyphBrushType |
Overrides
See Also
| Edit this page View SourceCenterColor
Property to set or return the color of the center point in the gradient.
Declaration
public GorgonColor CenterColor { get; set; }
Property Value
Type | Description |
---|---|
GorgonColor |
See Also
| Edit this page View SourceCenterPoint
Property to set or return the center point position in the gradient.
Declaration
public Vector2 CenterPoint { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
See Also
| Edit this page View SourceFocusScales
Property to set or return the focus point for the gradient falloff.
Declaration
public Vector2 FocusScales { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
See Also
| Edit this page View SourceInterpolation
Property to return the interpolation values for the gradient.
Declaration
public IList<GorgonGlyphBrushInterpolator> Interpolation { get; }
Property Value
Type | Description |
---|---|
IList<GorgonGlyphBrushInterpolator> |
See Also
| Edit this page View SourcePoints
Property to return the points for the path to follow in the gradient fill.
Declaration
public IList<Vector2> Points { get; }
Property Value
Type | Description |
---|---|
IList<Vector2> |
See Also
| Edit this page View SourceSurroundColors
Property to set or return the surrounding colors for the gradient path.
Declaration
public IList<GorgonColor> SurroundColors { get; }
Property Value
Type | Description |
---|---|
IList<GorgonColor> |
See Also
| Edit this page View SourceWrapMode
Property to set or return the wrapping mode for the gradient fill.
Declaration
public GlyphBrushWrapMode WrapMode { get; set; }
Property Value
Type | Description |
---|---|
GlyphBrushWrapMode |
See Also
Methods
| Edit this page View SourceClone()
Function to clone an object.
Declaration
public override GorgonGlyphBrush Clone()
Returns
Type | Description |
---|---|
GorgonGlyphBrush | The cloned object. |
Overrides
See Also
| Edit this page View SourceEquals(GorgonGlyphBrush)
Indicates whether the current object is equal to another object of the same type.
Declaration
public override bool Equals(GorgonGlyphBrush other)
Parameters
Type | Name | Description |
---|---|---|
GorgonGlyphBrush | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool |
true
True
true
true (True in Visual Basic) if the current object is equal to the other parameter; otherwise, falseFalsefalsefalse (False in Visual Basic).
|