EmfPlusImageAttributes

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.EmfPlusGraphicsObjectType

public final class EmfPlusImageAttributes extends EmfPlusGraphicsObjectType

The EmfPlusImageAttributes object specifies how bitmap image colors are manipulated during rendering.

Constructors

ConstructorDescription
EmfPlusImageAttributes()

Methods

MethodDescription
getWrapMode()Gets or sets a 32-bit unsigned integer that specifies how to handle edge conditions with a value from the WrapMode enumeration (section 2.1.1.34).
setWrapMode(int value)Gets or sets a 32-bit unsigned integer that specifies how to handle edge conditions with a value from the WrapMode enumeration (section 2.1.1.34).
getClampArgb32Color()Gets or sets EmfPlusARGB (section 2.2.2.1) object that specifies the edge color to use when the WrapMode value is WrapModeClamp.
setClampArgb32Color(int value)Gets or sets EmfPlusARGB (section 2.2.2.1) object that specifies the edge color to use when the WrapMode value is WrapModeClamp.
getObjectClamp()Gets or sets 32-bit signed integer that specifies the object clamping behavior.
setObjectClamp(int value)Gets or sets 32-bit signed integer that specifies the object clamping behavior.

EmfPlusImageAttributes()

public EmfPlusImageAttributes()

getWrapMode()

public int getWrapMode()

Gets or sets a 32-bit unsigned integer that specifies how to handle edge conditions with a value from the WrapMode enumeration (section 2.1.1.34).

Returns: int

setWrapMode(int value)

public void setWrapMode(int value)

Gets or sets a 32-bit unsigned integer that specifies how to handle edge conditions with a value from the WrapMode enumeration (section 2.1.1.34).

Parameters:

ParameterTypeDescription
valueint

getClampArgb32Color()

public int getClampArgb32Color()

Gets or sets EmfPlusARGB (section 2.2.2.1) object that specifies the edge color to use when the WrapMode value is WrapModeClamp. This color is visible when the source rectangle processed by an EmfPlusDrawImage (section 2.3.4.8) record is larger than the image itself.

Returns: int

setClampArgb32Color(int value)

public void setClampArgb32Color(int value)

Gets or sets EmfPlusARGB (section 2.2.2.1) object that specifies the edge color to use when the WrapMode value is WrapModeClamp. This color is visible when the source rectangle processed by an EmfPlusDrawImage (section 2.3.4.8) record is larger than the image itself.

Parameters:

ParameterTypeDescription
valueint

getObjectClamp()

public int getObjectClamp()

Gets or sets 32-bit signed integer that specifies the object clamping behavior. It is not used until this object is applied to an image being drawn. This value MUST be one of the values defined in the following table.

Returns: int

setObjectClamp(int value)

public void setObjectClamp(int value)

Gets or sets 32-bit signed integer that specifies the object clamping behavior. It is not used until this object is applied to an image being drawn. This value MUST be one of the values defined in the following table.

Parameters:

ParameterTypeDescription
valueint