Packages

 

com.aspose.imaging.fileformats.emf.emfplus.objects

Classes

com.aspose.imaging.fileformats.emf.emfplus.objects

Class EmfPlusPathGradientBrushOptionalData

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusPathGradientBrushOptionalData
    extends EmfPlusStructureObjectType

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

    • Constructor Detail

      • EmfPlusPathGradientBrushOptionalData

        public EmfPlusPathGradientBrushOptionalData()
    • Method Detail

      • 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.

      • setTransformMatrix

        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.

      • 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:

      • setBlendPattern

        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:

      • 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.

      • setFocusScaleData

        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.