public class EmfPlusDrawCurve extends EmfPlusDrawingRecordType
The EmfPlusDrawCurve record specifies drawing a cardinal spline NOTE: ObjectID (1 byte): The index of an EmfPlusPen object (section 2.2.1.7) in the EMF+ Object Table to draw the curve. The value MUST be zero to 63, inclusive.
Constructor and Description |
---|
EmfPlusDrawCurve(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusDrawCurve class. |
Modifier and Type | Method and Description |
---|---|
boolean |
getCompressed()
Gets or sets a value indicating whether this
EmfPlusDrawClosedCurve is compressed. |
int |
getCount()
Gets or sets the count of elements in array
A 32-bit unsigned integer that specifies the number of points in the PointData array.
|
int |
getNumSegments()
Gets or sets the segments count
A 32-bit unsigned integer that specifies the number of line segments making up the spline.
|
int |
getOffset()
Gets or sets the offset
A 32-bit unsigned integer that specifies the element in the PointData
array that defines the starting point of the spline.
|
com.aspose.ms.System.Array |
getPointData()
Gets or sets an array of either 32-bit signed integers or 32-bit floating-point numbers of
Count length that defines coordinate values of the endpoints of the lines to be stroked.
|
float |
getTension()
Gets or sets the tension
A 32-bit floating point number that specifies how tightly the spline
bends as it passes through the points.
|
void |
setCompressed(boolean value)
Gets or sets a value indicating whether this
EmfPlusDrawClosedCurve is compressed. |
void |
setCount(int value)
Gets or sets the count of elements in array
A 32-bit unsigned integer that specifies the number of points in the PointData array.
|
void |
setNumSegments(int value)
Gets or sets the segments count
A 32-bit unsigned integer that specifies the number of line segments making up the spline.
|
void |
setOffset(int value)
Gets or sets the offset
A 32-bit unsigned integer that specifies the element in the PointData
array that defines the starting point of the spline.
|
void |
setPointData(com.aspose.ms.System.Array value)
Gets or sets an array of either 32-bit signed integers or 32-bit floating-point numbers of
Count length that defines coordinate values of the endpoints of the lines to be stroked.
|
void |
setTension(float value)
Gets or sets the tension
A 32-bit floating point number that specifies how tightly the spline
bends as it passes through the points.
|
getDataSize, getFirstFlagByte_internalized, getFlagBit_internalized, getFlags, getLastFlagByte_internalized, getObjectId_internalized, getSize, getType, setDataSize, setFirstFlagByte_internalized, setFlagBit_internalized, setFlags, setLastFlagByte_internalized, setObjectId_internalized, setSize, setType_internalized
deepClone_internalized
public EmfPlusDrawCurve(EmfPlusRecord source)
Initializes a new instance of the EmfPlusDrawCurve
class.
source
- The source.public boolean getCompressed()
Gets or sets a value indicating whether this EmfPlusDrawClosedCurve
is compressed.
This bit indicates whether the PointData field specifies compressed data.
If set, PointData specifies absolute locations in the coordinate space with 16-bit integer coordinates.
If clear, PointData specifies absolute locations in the coordinate space with 32-bit floating-point coordinates
Note If the Relative flag (below) is set, this flag is undefined and MUST be ignored
true
if compressed; otherwise, false
.public void setCompressed(boolean value)
Gets or sets a value indicating whether this EmfPlusDrawClosedCurve
is compressed.
This bit indicates whether the PointData field specifies compressed data.
If set, PointData specifies absolute locations in the coordinate space with 16-bit integer coordinates.
If clear, PointData specifies absolute locations in the coordinate space with 32-bit floating-point coordinates
Note If the Relative flag (below) is set, this flag is undefined and MUST be ignored
true
if compressed; otherwise, false
.public float getTension()
Gets or sets the tension A 32-bit floating point number that specifies how tightly the spline bends as it passes through the points. A value of 0 specifies that the spline is a sequence of straight lines. As the value increases, the curve becomes more rounded. For more information, see [SPLINE77] and [PETZOLD].
public void setTension(float value)
Gets or sets the tension A 32-bit floating point number that specifies how tightly the spline bends as it passes through the points. A value of 0 specifies that the spline is a sequence of straight lines. As the value increases, the curve becomes more rounded. For more information, see [SPLINE77] and [PETZOLD].
public int getOffset()
Gets or sets the offset A 32-bit unsigned integer that specifies the element in the PointData array that defines the starting point of the spline.
public void setOffset(int value)
Gets or sets the offset A 32-bit unsigned integer that specifies the element in the PointData array that defines the starting point of the spline.
public int getNumSegments()
Gets or sets the segments count A 32-bit unsigned integer that specifies the number of line segments making up the spline.
public void setNumSegments(int value)
Gets or sets the segments count A 32-bit unsigned integer that specifies the number of line segments making up the spline.
public int getCount()
Gets or sets the count of elements in array A 32-bit unsigned integer that specifies the number of points in the PointData array. The minimum number of points for drawing a curve is 2—the starting and ending points
public void setCount(int value)
Gets or sets the count of elements in array A 32-bit unsigned integer that specifies the number of points in the PointData array. The minimum number of points for drawing a curve is 2—the starting and ending points
public com.aspose.ms.System.Array getPointData()
Gets or sets an array of either 32-bit signed integers or 32-bit floating-point numbers of Count length that defines coordinate values of the endpoints of the lines to be stroked.
public void setPointData(com.aspose.ms.System.Array value)
Gets or sets an array of either 32-bit signed integers or 32-bit floating-point numbers of Count length that defines coordinate values of the endpoints of the lines to be stroked.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.