Packages

 

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

Classes

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

Class EmfPlusLinearGradientBrushOptionalData

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusLinearGradientBrushOptionalData
    extends EmfPlusStructureObjectType

    The EmfPlusLinearGradientBrushOptionalData object specifies optional data for a linear gradient brush.

    • Constructor Detail

      • EmfPlusLinearGradientBrushOptionalData

        public EmfPlusLinearGradientBrushOptionalData()
    • 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 linear gradient brush. This field MUST be present if the BrushDataTransform flag is set in the BrushDataFlags field of the EmfPlusLinearGradientBrushData 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 linear gradient brush. This field MUST be present if the BrushDataTransform flag is set in the BrushDataFlags field of the EmfPlusLinearGradientBrushData object.

      • getBlendPattern

        public EmfPlusBlendBase[] getBlendPattern()

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

      • setBlendPattern

        public void setBlendPattern(EmfPlusBlendBase[] value)

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

      • getBlendPatternAsPresetColors

        public EmfPlusBlendColors getBlendPatternAsPresetColors()

        Gets the blend pattern as preset colors.

        Value: The blend pattern as preset colors.
      • getBlendPatternAsBlendFactorsH

        public EmfPlusBlendFactors getBlendPatternAsBlendFactorsH()

        Gets the blend pattern as blend factors h.

        Value: The blend pattern as blend factors h.
      • getBlendPatternAsBlendFactorsV

        public EmfPlusBlendFactors getBlendPatternAsBlendFactorsV()

        Gets the blend pattern as blend factors v.

        Value: The blend pattern as blend factors v.