ColorOp Struct

An operation of the display list of a color glyph.

public readonly struct ColorOp : IEquatable<ColorOp>
Implements

Constructors

NameDescription
ColorOp(ColorOpKind, int, int, int)An operation of the display list of a color glyph.

ColorOp(ColorOpKind, int, int, int)

An operation of the display list of a color glyph.

public ColorOp(ColorOpKind Kind, int Glyph, int Transform, int Paint)

Parameters

Kind ColorOpKind
What the operation does.
Glyph int
The glyph whose outline is filled or clips.
Transform int
The index, in the numbers of the color glyph, of the six values of the transformation of the outline or of the box; -1 for none.
Paint int
The index of the paint of a fill; the composition mode of the end of a layer; the index, in the numbers, of the four sides of a box.

Properties

NameDescription
GlyphThe glyph whose outline is filled or clips.
KindWhat the operation does.
PaintThe index of the paint of a fill; the composition mode of the end of a layer; the index, in the numbers, of the four sides of a box.
TransformThe index, in the numbers of the color glyph, of the six values of the transformation of the outline or of the box; -1 for none.

The glyph whose outline is filled or clips.

public int Glyph { get; init; }

Property value

int

What the operation does.

public ColorOpKind Kind { get; init; }

Property value

ColorOpKind

The index of the paint of a fill; the composition mode of the end of a layer; the index, in the numbers, of the four sides of a box.

public int Paint { get; init; }

Property value

int

Transform

ColorOp.cs

The index, in the numbers of the color glyph, of the six values of the transformation of the outline or of the box; -1 for none.

public int Transform { get; init; }

Property value

int

Methods

NameDescription
Deconstruct(ColorOpKind, int, int, int)
Equals(ColorOp)
Equals(object)
GetHashCode()
ToString()

Deconstruct(ColorOpKind, int, int, int)

public void Deconstruct(out ColorOpKind Kind, out int Glyph, out int Transform, out int Paint)

Parameters

Kind ColorOpKind
Glyph int
Transform int
Paint int

No documentation is available.

Equals overloads

Equals(ColorOp)

public bool Equals(ColorOp other)
Parameters
other ColorOp
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(ColorOp, ColorOp)
operator !=(ColorOp, ColorOp)

operator ==(ColorOp, ColorOp)

public static bool operator ==(ColorOp left, ColorOp right)

Parameters

left ColorOp
right ColorOp

Returns

bool

No documentation is available.

operator !=(ColorOp, ColorOp)

public static bool operator !=(ColorOp left, ColorOp right)

Parameters

left ColorOp
right ColorOp

Returns

bool

No documentation is available.