EmfCreateBrushIndirect

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfObjectCreationRecordType

public final class EmfCreateBrushIndirect extends EmfObjectCreationRecordType

The EMR_CREATEBRUSHINDIRECT record defines a logical brush for graphics operations.

The logical brush object defined by this record can be selected into the playback device context by an EMR_SELECTOBJECT record (section 2.3.8.5), which specifies the logical brush to use in subsequent graphics operations.

Constructors

ConstructorDescription
EmfCreateBrushIndirect(EmfRecord source)Initializes a new instance of the EmfCreateBrushIndirect class.
EmfCreateBrushIndirect()Initializes a new instance of the EmfCreateBrushIndirect class.

Methods

MethodDescription
getIhBrush()Gets or sets A 32-bit unsigned integer that specifies the index of the logical brush object in the EMF Object Table (section 3.1.1.1).
setIhBrush(int value)Gets or sets A 32-bit unsigned integer that specifies the index of the logical brush object in the EMF Object Table (section 3.1.1.1).
getLogBrush()Gets or sets A LogBrushEx object (section 2.2.12) that specifies the style, color, and pattern of the logical brush.
setLogBrush(EmfLogBrushEx value)Gets or sets A LogBrushEx object (section 2.2.12) that specifies the style, color, and pattern of the logical brush.

EmfCreateBrushIndirect(EmfRecord source)

public EmfCreateBrushIndirect(EmfRecord source)

Initializes a new instance of the EmfCreateBrushIndirect class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfCreateBrushIndirect()

public EmfCreateBrushIndirect()

Initializes a new instance of the EmfCreateBrushIndirect class.

getIhBrush()

public int getIhBrush()

Gets or sets A 32-bit unsigned integer that specifies the index of the logical brush object in the EMF Object Table (section 3.1.1.1). This index MUST be saved so that this object can be reused or modified.

Returns: int

setIhBrush(int value)

public void setIhBrush(int value)

Gets or sets A 32-bit unsigned integer that specifies the index of the logical brush object in the EMF Object Table (section 3.1.1.1). This index MUST be saved so that this object can be reused or modified.

Parameters:

ParameterTypeDescription
valueint

getLogBrush()

public EmfLogBrushEx getLogBrush()

Gets or sets A LogBrushEx object (section 2.2.12) that specifies the style, color, and pattern of the logical brush. The BrushStyle field in this object MUST be BS_SOLID, BS_HATCHED, or BS_NULL.

Returns: EmfLogBrushEx

setLogBrush(EmfLogBrushEx value)

public void setLogBrush(EmfLogBrushEx value)

Gets or sets A LogBrushEx object (section 2.2.12) that specifies the style, color, and pattern of the logical brush. The BrushStyle field in this object MUST be BS_SOLID, BS_HATCHED, or BS_NULL.

Parameters:

ParameterTypeDescription
valueEmfLogBrushEx