public final class EmfPlusBrush extends EmfPlusGraphicsObjectType
The EmfPlusBrush object specifies a graphics brush for filling regions.
Constructor and Description |
---|
EmfPlusBrush() |
Modifier and Type | Method and Description |
---|---|
EmfPlusBaseBrushData |
getBrushData()
Gets or sets the Brush data
Variable-length data that defines the brush object specified in the Type field.
|
int |
getType()
Gets or sets the type.
|
void |
setBrushData(EmfPlusBaseBrushData value)
Gets or sets the Brush data
Variable-length data that defines the brush object specified in the Type field.
|
void |
setType(int value)
Gets or sets the type.
|
getVersion, setVersion
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.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.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 theEmfPlusBrushType
enumeration.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 theEmfPlusBrushType
enumeration.