ColorPaint Struct
A paint of the display list of a color glyph: a color, or a gradient in its own coordinate space.
public readonly struct ColorPaint : IEquatable<ColorPaint>- Implements
Constructors
| Name | Description |
|---|---|
| ColorPaint(ColorPaintKind, int, int, int, int, int) | A paint of the display list of a color glyph: a color, or a gradient in its own coordinate space. |
ColorPaint(ColorPaintKind, int, int, int, int, int)
A paint of the display list of a color glyph: a color, or a gradient in its own coordinate space.
public ColorPaint(ColorPaintKind Kind, int Transform, int Geometry, int FirstStop, int StopCount, int Extend)Parameters
KindColorPaintKind- The kind of paint.
Transformint- The index, in the numbers of the color glyph, of the six values of the transformation from the space of the paint to the space of the glyph; -1 for none.
Geometryint- The index, in the numbers, of the geometry of a gradient.
FirstStopint- The index of the first stop of a gradient, or of the color of a solid paint.
StopCountint- The number of stops of a gradient.
Extendint- How a gradient continues outside its color line: 0 pads, 1 repeats, 2 reflects.
Properties
| Name | Description |
|---|---|
| Extend | How a gradient continues outside its color line: 0 pads, 1 repeats, 2 reflects. |
| FirstStop | The index of the first stop of a gradient, or of the color of a solid paint. |
| Geometry | The index, in the numbers, of the geometry of a gradient. |
| Kind | The kind of paint. |
| StopCount | The number of stops of a gradient. |
| Transform | The index, in the numbers of the color glyph, of the six values of the transformation from the space of the paint to the space of the glyph; -1 for none. |
Extend
ColorPaint.csFirstStop
ColorPaint.csGeometry
ColorPaint.csKind
ColorPaint.csStopCount
ColorPaint.csTransform
ColorPaint.csMethods
| Name | Description |
|---|---|
| Deconstruct(ColorPaintKind, int, int, int, int, int) | |
| Equals(ColorPaint) | |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Deconstruct(ColorPaintKind, int, int, int, int, int)
Equals overloads
Equals(ColorPaint)
public bool Equals(ColorPaint other)No documentation is available.
Equals(object)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(ColorPaint, ColorPaint) | |
| operator !=(ColorPaint, ColorPaint) |
operator ==(ColorPaint, ColorPaint)
public static bool operator ==(ColorPaint left, ColorPaint right)No documentation is available.
operator !=(ColorPaint, ColorPaint)
public static bool operator !=(ColorPaint left, ColorPaint right)No documentation is available.