public final class EmfPlusCustomLineCapData extends EmfPlusCustomBaseLineCap
The EmfPlusCustomLineCapData object specifies default data for a custom line cap.
Constructor and Description |
---|
EmfPlusCustomLineCapData() |
Modifier and Type | Method and Description |
---|---|
int |
getBaseCap()
Gets or sets 32-bit unsigned integer that specifies the value from the LineCap enumeration (section 2.1.1.18)
on which the custom line cap is based.
|
float |
getBaseInset()
Gets or sets 32-bit floating-point value that specifies the distance between the beginning
of the line cap and the end of the line.
|
int |
getCustomLineCapDataFlags()
Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field
|
PointF |
getFillHotSpot()
Gets or sets EmfPlusPointF object that is not currently used.
|
EmfPlusCustomLineCapOptionalData |
getOptionalData()
Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14)
that specifies additional data for the custom graphics line cap.
|
int |
getStrokeEndCap()
Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates what
line cap is to be used at the end of the line to be drawn.
|
PointF |
getStrokeHotSpot()
Gets or sets EmfPlusPointF object that is not currently used.
|
int |
getStrokeJoin()
Gets or sets 32-bit unsigned integer that specifies the value in the LineJoin enumeration
(section 2.1.1.19), which specifies how to join two lines that are drawn by
the same pen and whose ends meet.
|
float |
getStrokeMiterLimit()
Gets or sets 32-bit floating-point value that contains the limit of the thickness
of the join on a mitered corner by setting the maximum allowed ratio
of miter length to line width.
|
int |
getStrokeStartCap()
Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates the
line cap used at the start of the line to be drawn
|
float |
getWidthScale()
Gets or sets 32-bit floating-point value that specifies the amount by which to
scale the custom line cap with respect to the width of the EmfPlusPen
object (section 2.2.1.7) that is used to draw the lines.
|
void |
setBaseCap(int value)
Gets or sets 32-bit unsigned integer that specifies the value from the LineCap enumeration (section 2.1.1.18)
on which the custom line cap is based.
|
void |
setBaseInset(float value)
Gets or sets 32-bit floating-point value that specifies the distance between the beginning
of the line cap and the end of the line.
|
void |
setCustomLineCapDataFlags(int value)
Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field
|
void |
setFillHotSpot(PointF value)
Gets or sets EmfPlusPointF object that is not currently used.
|
void |
setOptionalData(EmfPlusCustomLineCapOptionalData value)
Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14)
that specifies additional data for the custom graphics line cap.
|
void |
setStrokeEndCap(int value)
Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates what
line cap is to be used at the end of the line to be drawn.
|
void |
setStrokeHotSpot(PointF value)
Gets or sets EmfPlusPointF object that is not currently used.
|
void |
setStrokeJoin(int value)
Gets or sets 32-bit unsigned integer that specifies the value in the LineJoin enumeration
(section 2.1.1.19), which specifies how to join two lines that are drawn by
the same pen and whose ends meet.
|
void |
setStrokeMiterLimit(float value)
Gets or sets 32-bit floating-point value that contains the limit of the thickness
of the join on a mitered corner by setting the maximum allowed ratio
of miter length to line width.
|
void |
setStrokeStartCap(int value)
Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates the
line cap used at the start of the line to be drawn
|
void |
setWidthScale(float value)
Gets or sets 32-bit floating-point value that specifies the amount by which to
scale the custom line cap with respect to the width of the EmfPlusPen
object (section 2.2.1.7) that is used to draw the lines.
|
public int getCustomLineCapDataFlags()
Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field
public void setCustomLineCapDataFlags(int value)
Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field
public int getBaseCap()
Gets or sets 32-bit unsigned integer that specifies the value from the LineCap enumeration (section 2.1.1.18) on which the custom line cap is based.
public void setBaseCap(int value)
Gets or sets 32-bit unsigned integer that specifies the value from the LineCap enumeration (section 2.1.1.18) on which the custom line cap is based.
public float getBaseInset()
Gets or sets 32-bit floating-point value that specifies the distance between the beginning of the line cap and the end of the line.
public void setBaseInset(float value)
Gets or sets 32-bit floating-point value that specifies the distance between the beginning of the line cap and the end of the line.
public int getStrokeStartCap()
Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates the line cap used at the start of the line to be drawn
public void setStrokeStartCap(int value)
Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates the line cap used at the start of the line to be drawn
public int getStrokeEndCap()
Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates what line cap is to be used at the end of the line to be drawn.
public void setStrokeEndCap(int value)
Gets or sets 32-bit unsigned integer that specifies the value in the LineCap enumeration that indicates what line cap is to be used at the end of the line to be drawn.
public int getStrokeJoin()
Gets or sets 32-bit unsigned integer that specifies the value in the LineJoin enumeration (section 2.1.1.19), which specifies how to join two lines that are drawn by the same pen and whose ends meet. At the intersection of the two line ends, a line join makes the connection look more continuous.
public void setStrokeJoin(int value)
Gets or sets 32-bit unsigned integer that specifies the value in the LineJoin enumeration (section 2.1.1.19), which specifies how to join two lines that are drawn by the same pen and whose ends meet. At the intersection of the two line ends, a line join makes the connection look more continuous.
public float getStrokeMiterLimit()
Gets or sets 32-bit floating-point value that contains the limit of the thickness of the join on a mitered corner by setting the maximum allowed ratio of miter length to line width.
public void setStrokeMiterLimit(float value)
Gets or sets 32-bit floating-point value that contains the limit of the thickness of the join on a mitered corner by setting the maximum allowed ratio of miter length to line width.
public float getWidthScale()
Gets or sets 32-bit floating-point value that specifies the amount by which to scale the custom line cap with respect to the width of the EmfPlusPen object (section 2.2.1.7) that is used to draw the lines.
public void setWidthScale(float value)
Gets or sets 32-bit floating-point value that specifies the amount by which to scale the custom line cap with respect to the width of the EmfPlusPen object (section 2.2.1.7) that is used to draw the lines.
public PointF getFillHotSpot()
Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.
public void setFillHotSpot(PointF value)
Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.
public PointF getStrokeHotSpot()
Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.
public void setStrokeHotSpot(PointF value)
Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.
public EmfPlusCustomLineCapOptionalData getOptionalData()
Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14) that specifies additional data for the custom graphics line cap. T he specific contents of this field are determined by the value of the CustomLineCapDataFlags field.
public void setOptionalData(EmfPlusCustomLineCapOptionalData value)
Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14) that specifies additional data for the custom graphics line cap. T he specific contents of this field are determined by the value of the CustomLineCapDataFlags field.