EmfPlusTextureBrushData

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, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusBaseBrushData

public final class EmfPlusTextureBrushData extends EmfPlusBaseBrushData

The EmfPlusTextureBrushData object specifies a texture image for a graphics brush.

Constructors

ConstructorDescription
EmfPlusTextureBrushData()

Methods

MethodDescription
getBrushDataFlags()Gets or sets a 32-bit unsigned integer that specifies the data in the OptionalData field.
setBrushDataFlags(int value)Gets or sets a 32-bit unsigned integer that specifies the data in the OptionalData field.
getWrapMode()Gets or sets a 32-bit signed integer from the WrapMode enumeration (section 2.1.1.34) that specifies how to repeat the texture image across a shape, when the image is smaller than the area being filled.
setWrapMode(int value)Gets or sets a 32-bit signed integer from the WrapMode enumeration (section 2.1.1.34) that specifies how to repeat the texture image across a shape, when the image is smaller than the area being filled.
getOptionalData()Gets or sets an optional EmfPlusTextureBrushOptionalData object (section 2.2.2.46) that specifies additional data for the texture brush.
setOptionalData(EmfPlusTextureBrushOptionalData value)Gets or sets an optional EmfPlusTextureBrushOptionalData object (section 2.2.2.46) that specifies additional data for the texture brush.

EmfPlusTextureBrushData()

public EmfPlusTextureBrushData()

getBrushDataFlags()

public int getBrushDataFlags()

Gets or sets a 32-bit unsigned integer that specifies the data in the OptionalData field. This value MUST be composed of BrushData flags (section 2.1.2.1). The following flags are relevant to a texture brush BrushDataTransform BrushDataIsGammaCorrected BrushDataDoNotTransform

Returns: int

setBrushDataFlags(int value)

public void setBrushDataFlags(int value)

Gets or sets a 32-bit unsigned integer that specifies the data in the OptionalData field. This value MUST be composed of BrushData flags (section 2.1.2.1). The following flags are relevant to a texture brush BrushDataTransform BrushDataIsGammaCorrected BrushDataDoNotTransform

Parameters:

ParameterTypeDescription
valueint

getWrapMode()

public int getWrapMode()

Gets or sets a 32-bit signed integer from the WrapMode enumeration (section 2.1.1.34) that specifies how to repeat the texture image across a shape, when the image is smaller than the area being filled.

Returns: int

setWrapMode(int value)

public void setWrapMode(int value)

Gets or sets a 32-bit signed integer from the WrapMode enumeration (section 2.1.1.34) that specifies how to repeat the texture image across a shape, when the image is smaller than the area being filled.

Parameters:

ParameterTypeDescription
valueint

getOptionalData()

public EmfPlusTextureBrushOptionalData getOptionalData()

Gets or sets an optional EmfPlusTextureBrushOptionalData object (section 2.2.2.46) that specifies additional data for the texture brush. The specific contents of this field are determined by the value of the BrushDataFlags field

Returns: EmfPlusTextureBrushOptionalData

setOptionalData(EmfPlusTextureBrushOptionalData value)

public void setOptionalData(EmfPlusTextureBrushOptionalData value)

Gets or sets an optional EmfPlusTextureBrushOptionalData object (section 2.2.2.46) that specifies additional data for the texture brush. The specific contents of this field are determined by the value of the BrushDataFlags field

Parameters:

ParameterTypeDescription
valueEmfPlusTextureBrushOptionalData