EmfPlusCustomLineCapData

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusStructureObjectType, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusCustomBaseLineCap

public final class EmfPlusCustomLineCapData extends EmfPlusCustomBaseLineCap

The EmfPlusCustomLineCapData object specifies default data for a custom line cap.

Constructors

ConstructorDescription
EmfPlusCustomLineCapData()

Methods

MethodDescription
getCustomLineCapDataFlags()Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field
setCustomLineCapDataFlags(int value)Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field
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.
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.
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.
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.
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
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
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.
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.
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.
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.
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.
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.
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.
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.
getFillHotSpot()Gets or sets EmfPlusPointF object that is not currently used.
setFillHotSpot(PointF value)Gets or sets EmfPlusPointF object that is not currently used.
getStrokeHotSpot()Gets or sets EmfPlusPointF object that is not currently used.
setStrokeHotSpot(PointF value)Gets or sets EmfPlusPointF object that is not currently used.
getOptionalData()Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14) that specifies additional data for the custom graphics line cap.
setOptionalData(EmfPlusCustomLineCapOptionalData value)Gets or sets optional EmfPlusCustomLineCapOptionalData object (section 2.2.2.14) that specifies additional data for the custom graphics line cap.

EmfPlusCustomLineCapData()

public EmfPlusCustomLineCapData()

getCustomLineCapDataFlags()

public int getCustomLineCapDataFlags()

Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field

Returns: int

setCustomLineCapDataFlags(int value)

public void setCustomLineCapDataFlags(int value)

Gets or sets 32-bit unsigned integer that specifies the data in the OptionalData field

Parameters:

ParameterTypeDescription
valueint

getBaseCap()

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.

Returns: int

setBaseCap(int value)

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.

Parameters:

ParameterTypeDescription
valueint

getBaseInset()

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.

Returns: float

setBaseInset(float value)

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.

Parameters:

ParameterTypeDescription
valuefloat

getStrokeStartCap()

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

Returns: int

setStrokeStartCap(int value)

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

Parameters:

ParameterTypeDescription
valueint

getStrokeEndCap()

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.

Returns: int

setStrokeEndCap(int value)

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.

Parameters:

ParameterTypeDescription
valueint

getStrokeJoin()

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.

Returns: int

setStrokeJoin(int value)

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.

Parameters:

ParameterTypeDescription
valueint

getStrokeMiterLimit()

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.

Returns: float

setStrokeMiterLimit(float value)

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.

Parameters:

ParameterTypeDescription
valuefloat

getWidthScale()

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.

Returns: float

setWidthScale(float value)

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.

Parameters:

ParameterTypeDescription
valuefloat

getFillHotSpot()

public PointF getFillHotSpot()

Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

Returns: PointF

setFillHotSpot(PointF value)

public void setFillHotSpot(PointF value)

Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

Parameters:

ParameterTypeDescription
valuePointF

getStrokeHotSpot()

public PointF getStrokeHotSpot()

Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

Returns: PointF

setStrokeHotSpot(PointF value)

public void setStrokeHotSpot(PointF value)

Gets or sets EmfPlusPointF object that is not currently used. It MUST be set to {0.0, 0.0}.

Parameters:

ParameterTypeDescription
valuePointF

getOptionalData()

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.

Returns: EmfPlusCustomLineCapOptionalData

setOptionalData(EmfPlusCustomLineCapOptionalData value)

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.

Parameters:

ParameterTypeDescription
valueEmfPlusCustomLineCapOptionalData