EmfPlusFocusScaleData

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

public final class EmfPlusFocusScaleData extends EmfPlusStructureObjectType

The EmfPlusFocusScaleData object specifies focus scales for the blend pattern of a path gradient brush.

Constructors

ConstructorDescription
EmfPlusFocusScaleData()

Methods

MethodDescription
getFocusScaleX()Gets or sets a floating-point value that defines the horizontal focus scale.
setFocusScaleX(float value)Gets or sets a floating-point value that defines the horizontal focus scale.
getFocusScaleY()Gets or sets a floating-point value that defines the vertical focus scale.
setFocusScaleY(float value)Gets or sets a floating-point value that defines the vertical focus scale.
getFocusScaleCount()Gets or sets a 32-bit unsigned integer that specifies the number of focus scales.
setFocusScaleCount(int value)Gets or sets a 32-bit unsigned integer that specifies the number of focus scales.

EmfPlusFocusScaleData()

public EmfPlusFocusScaleData()

getFocusScaleX()

public float getFocusScaleX()

Gets or sets a floating-point value that defines the horizontal focus scale. The focus scale MUST be a value between 0.0 and 1.0, exclusive.

Returns: float

setFocusScaleX(float value)

public void setFocusScaleX(float value)

Gets or sets a floating-point value that defines the horizontal focus scale. The focus scale MUST be a value between 0.0 and 1.0, exclusive.

Parameters:

ParameterTypeDescription
valuefloat

getFocusScaleY()

public float getFocusScaleY()

Gets or sets a floating-point value that defines the vertical focus scale. The focus scale MUST be a value between 0.0 and 1.0, exclusive.

Returns: float

setFocusScaleY(float value)

public void setFocusScaleY(float value)

Gets or sets a floating-point value that defines the vertical focus scale. The focus scale MUST be a value between 0.0 and 1.0, exclusive.

Parameters:

ParameterTypeDescription
valuefloat

getFocusScaleCount()

public int getFocusScaleCount()

Gets or sets a 32-bit unsigned integer that specifies the number of focus scales. This value MUST be 2.

Returns: int

setFocusScaleCount(int value)

public void setFocusScaleCount(int value)

Gets or sets a 32-bit unsigned integer that specifies the number of focus scales. This value MUST be 2.

Parameters:

ParameterTypeDescription
valueint