public final class EmfPlusImageAttributes extends EmfPlusGraphicsObjectType
The EmfPlusImageAttributes object specifies how bitmap image colors are manipulated during rendering.
Constructor and Description |
---|
EmfPlusImageAttributes() |
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getObjectClamp()
Gets or sets 32-bit signed integer that specifies the object clamping behavior.
|
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).
|
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.
|
void |
setObjectClamp(int value)
Gets or sets 32-bit signed integer that specifies the object clamping behavior.
|
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).
|
getVersion, setVersion
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).
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).
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.
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.
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.
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.