Class EmfVertexData
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
Objects that specify the vertexes of either rectangles or triangles andthe colors that correspond to them.
public sealed class EmfVertexData
{
private readonly float _x;
private readonly float _y;
public EmfVertexData(float x, float y)
{
_x = x;
_y = y;
}
public void SetX(float newX)
{
_x = newX;
}
public void SetY(float newY)
{
_y = newY;
}
public float X => _x;
public float Y => _y;
}
Inheritance
Inherited Members
object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
EmfVertexData()
public EmfVertexData()
{
}
Properties
VertexIndexes
Gets or sets an array of nTri GradientRectangle objects (section 2.2.7) orGradientTriangle objects (section 2.2.8), depending on the value of the ulMode field.Each object specifies indexes into the array of TriVertex objects in the VertexObjects field.
public EmfGradientRectangle[] VertexIndexes
{
get;
set;
}
Property Value
VertexObjects
Gets or sets an array of nVer TriVertex objects (section 2.2.26). Eachobject specifies the position and color of a vertex of either a rectangle or a triangle,depending on the value of the ulMode field.
public EmfTriVertex[] VertexObjects
{
get;
set;
}
Property Value
EmfTriVertex []
VertexPadding
Gets or sets an optional variable-length array of nTri times four bytesthat MUST be present if the value of the ulMode field indicates GradientRectangleobjects (section 2.2.7). If the value of the ulMode field indicates GradientTriangleobjects (section 2.2.8), no VertexPadding is present. This field MUST be ignored.
public byte[] VertexPadding
{
get;
set;
}
Property Value
byte []