Packages

 

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

Classes

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

Class EmfPlusBrush

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusBrush
    extends EmfPlusGraphicsObjectType

    The EmfPlusBrush object specifies a graphics brush for filling regions.

    • Constructor Detail

      • EmfPlusBrush

        public EmfPlusBrush()
    • Method Detail

      • getBrushData

        public EmfPlusBaseBrushData getBrushData()

        Gets or sets the Brush data Variable-length data that defines the brush object specified in the Type field. The content and format of the data can be different for every brush type. EmfPlusHatchBrushData (section 2.2.2.20) (done) EmfPlusLinearGradientBrushData object (section 2.2.2.24) (done) EmfPlusPathGradientBrushData object (section 2.2.2.29) (done) EmfPlusSolidBrushData object (section 2.2.2.43) (done) EmfPlusTextureBrushData object (section 2.2.2.45) (done)

        Value: The brush data.
      • setBrushData

        public void setBrushData(EmfPlusBaseBrushData value)

        Gets or sets the Brush data Variable-length data that defines the brush object specified in the Type field. The content and format of the data can be different for every brush type. EmfPlusHatchBrushData (section 2.2.2.20) (done) EmfPlusLinearGradientBrushData object (section 2.2.2.24) (done) EmfPlusPathGradientBrushData object (section 2.2.2.29) (done) EmfPlusSolidBrushData object (section 2.2.2.43) (done) EmfPlusTextureBrushData object (section 2.2.2.45) (done)

        Value: The brush data.
      • getType

        public int getType()

        Gets or sets the type.

        Value: A 32-bit unsigned integer that specifies the type of brush, which determines the contents of the BrushData field. This value MUST be defined in the EmfPlusBrushType enumeration.
      • setType

        public void setType(int value)

        Gets or sets the type.

        Value: A 32-bit unsigned integer that specifies the type of brush, which determines the contents of the BrushData field. This value MUST be defined in the EmfPlusBrushType enumeration.