public final class EmfPlusPath extends EmfPlusGraphicsObjectType
The EmfPlusPath object specifies a series of line and curve segments that form a graphics path. The order for Bezier data points is the start point, control point 1, control point 2, and end point.For more information see[MSDN - DrawBeziers].
Constructor and Description |
---|
EmfPlusPath() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAlignmentPadding()
Gets or sets an optional array of up to 3 bytes that pads the record so that its total size is a multiple of 4 bytes.
|
int |
getPathPointCount()
Gets or sets count of points
A 32-bit unsigned integer that specifies the number of
points and associated point types that are defined by this object
|
short |
getPathPointFlags()
Gets or sets Path points count
A 32-bit unsigned integer that specifies how to interpret the points and associated point types that are defined by this object
|
com.aspose.ms.System.Array |
getPathPoints()
Gets or sets array of path points
An array of PathPointCount points that specify the path.
|
EmfPlusBasePointType[] |
getPathPointTypes()
Gets or sets an array that specifies how the points in the PathPoints field are used to draw the path.
|
short |
getReserved()
Gets or sets reserved field
This field is reserved and MUST be ignored.
|
void |
setAlignmentPadding(byte[] value)
Gets or sets an optional array of up to 3 bytes that pads the record so that its total size is a multiple of 4 bytes.
|
void |
setPathPointCount(int value)
Gets or sets count of points
A 32-bit unsigned integer that specifies the number of
points and associated point types that are defined by this object
|
void |
setPathPointFlags(short value)
Gets or sets Path points count
A 32-bit unsigned integer that specifies how to interpret the points and associated point types that are defined by this object
|
void |
setPathPoints(com.aspose.ms.System.Array value)
Gets or sets array of path points
An array of PathPointCount points that specify the path.
|
void |
setPathPointTypes(EmfPlusBasePointType[] value)
Gets or sets an array that specifies how the points in the PathPoints field are used to draw the path.
|
void |
setReserved(short value)
Gets or sets reserved field
This field is reserved and MUST be ignored.
|
getVersion, setVersion
public int getPathPointCount()
Gets or sets count of points A 32-bit unsigned integer that specifies the number of points and associated point types that are defined by this object
public void setPathPointCount(int value)
Gets or sets count of points A 32-bit unsigned integer that specifies the number of points and associated point types that are defined by this object
public short getPathPointFlags()
Gets or sets Path points count A 32-bit unsigned integer that specifies how to interpret the points and associated point types that are defined by this object
public void setPathPointFlags(short value)
Gets or sets Path points count A 32-bit unsigned integer that specifies how to interpret the points and associated point types that are defined by this object
public com.aspose.ms.System.Array getPathPoints()
Gets or sets array of path points An array of PathPointCount points that specify the path. The type of objects in this array are specified by the PathPointFlags field, as follows: If the P flag is set, the points are relative locations that are specified by EmfPlusPointR objects (section 2.2.2.37). If the P flag is clear and the C flag is set, the points are absolute locations that are specified by EmfPlusPoint objects (section 2.2.2.35). If the P flag is clear and the C flag is clear, the points are absolute locations that are specified by EmfPlusPointF objects (section 2.2.2.36).
public void setPathPoints(com.aspose.ms.System.Array value)
Gets or sets array of path points An array of PathPointCount points that specify the path. The type of objects in this array are specified by the PathPointFlags field, as follows: If the P flag is set, the points are relative locations that are specified by EmfPlusPointR objects (section 2.2.2.37). If the P flag is clear and the C flag is set, the points are absolute locations that are specified by EmfPlusPoint objects (section 2.2.2.35). If the P flag is clear and the C flag is clear, the points are absolute locations that are specified by EmfPlusPointF objects (section 2.2.2.36).
public short getReserved()
Gets or sets reserved field This field is reserved and MUST be ignored.
public void setReserved(short value)
Gets or sets reserved field This field is reserved and MUST be ignored.
public EmfPlusBasePointType[] getPathPointTypes()
Gets or sets an array that specifies how the points in the PathPoints field are used to draw the path. The type of objects in this array is specified by the R flag in the PathPointFlags field
Value: The path point types.public void setPathPointTypes(EmfPlusBasePointType[] value)
Gets or sets an array that specifies how the points in the PathPoints field are used to draw the path. The type of objects in this array is specified by the R flag in the PathPointFlags field
Value: The path point types.public byte[] getAlignmentPadding()
Gets or sets an optional array of up to 3 bytes that pads the record so that its total size is a multiple of 4 bytes. This field MUST be ignored.
public void setAlignmentPadding(byte[] value)
Gets or sets an optional array of up to 3 bytes that pads the record so that its total size is a multiple of 4 bytes. This field MUST be ignored.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.