EmfPlusPathGradientBrushOptionalData

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 EmfPlusPathGradientBrushOptionalData extends EmfPlusStructureObjectType

The EmfPlusPathGradientBrushOptionalData object specifies optional data for a path gradient brush.

Constructors

ConstructorDescription
EmfPlusPathGradientBrushOptionalData()

Methods

MethodDescription
getTransformMatrix()Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies a world space to device space transform for the path gradient brush.
setTransformMatrix(Matrix value)Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies a world space to device space transform for the path gradient brush.
getBlendPattern()Gets or sets an optional blend pattern for the path gradient brush.
setBlendPattern(EmfPlusBlendBase value)Gets or sets an optional blend pattern for the path gradient brush.
getFocusScaleData()Gets or sets an optional EmfPlusFocusScaleData object (section 2.2.2.18) that specifies focus scales for the path gradient brush.
setFocusScaleData(EmfPlusFocusScaleData value)Gets or sets an optional EmfPlusFocusScaleData object (section 2.2.2.18) that specifies focus scales for the path gradient brush.

EmfPlusPathGradientBrushOptionalData()

public EmfPlusPathGradientBrushOptionalData()

getTransformMatrix()

public Matrix getTransformMatrix()

Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies a world space to device space transform for the path gradient brush. This field MUST be present if the BrushDataTransform flag is set in the BrushDataFlags field of the EmfPlusPathGradientBrushData object.

Returns: Matrix

setTransformMatrix(Matrix value)

public void setTransformMatrix(Matrix value)

Gets or sets an optional EmfPlusTransformMatrix object (section 2.2.2.47) that specifies a world space to device space transform for the path gradient brush. This field MUST be present if the BrushDataTransform flag is set in the BrushDataFlags field of the EmfPlusPathGradientBrushData object.

Parameters:

ParameterTypeDescription
valueMatrix

getBlendPattern()

public EmfPlusBlendBase getBlendPattern()

Gets or sets an optional blend pattern for the path gradient brush. If this field is present, it MUST contain either an EmfPlusBlendColors object (section 2.2.2.4), or an EmfPlusBlendFactors object (section 2.2.2.5), but it MUST NOT contain both. The table below shows the valid combinations of EmfPlusPathGradientBrushData BrushData flags and the corresponding blend patterns:

Returns: EmfPlusBlendBase

setBlendPattern(EmfPlusBlendBase value)

public void setBlendPattern(EmfPlusBlendBase value)

Gets or sets an optional blend pattern for the path gradient brush. If this field is present, it MUST contain either an EmfPlusBlendColors object (section 2.2.2.4), or an EmfPlusBlendFactors object (section 2.2.2.5), but it MUST NOT contain both. The table below shows the valid combinations of EmfPlusPathGradientBrushData BrushData flags and the corresponding blend patterns:

Parameters:

ParameterTypeDescription
valueEmfPlusBlendBase

getFocusScaleData()

public EmfPlusFocusScaleData getFocusScaleData()

Gets or sets an optional EmfPlusFocusScaleData object (section 2.2.2.18) that specifies focus scales for the path gradient brush. This field MUST be present if the BrushDataFocusScales flag is set in the BrushDataFlags field of the EmfPlusPathGradientBrushData object.

Returns: EmfPlusFocusScaleData

setFocusScaleData(EmfPlusFocusScaleData value)

public void setFocusScaleData(EmfPlusFocusScaleData value)

Gets or sets an optional EmfPlusFocusScaleData object (section 2.2.2.18) that specifies focus scales for the path gradient brush. This field MUST be present if the BrushDataFocusScales flag is set in the BrushDataFlags field of the EmfPlusPathGradientBrushData object.

Parameters:

ParameterTypeDescription
valueEmfPlusFocusScaleData