public final class EmfLogPen extends EmfBasePen
The LogPen object defines the style, width, and color of a logical pen.
| Constructor and Description |
|---|
EmfLogPen() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAffectWidth()
Gets or sets the width of the affect.
|
int |
getArgb32ColorRef()
Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.
|
int |
getPenStyle()
Gets or sets a 32-bit unsigned integer that specifies the PenStyle.
|
Point |
getWidth()
Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of
the pen by the value of its x field.
|
void |
setAffectWidth(int value)
Gets or sets the width of the affect.
|
void |
setArgb32ColorRef(int value)
Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.
|
void |
setPenStyle(int value)
Gets or sets a 32-bit unsigned integer that specifies the PenStyle.
|
void |
setWidth(Point value)
Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of
the pen by the value of its x field.
|
public int getPenStyle()
Gets or sets a 32-bit unsigned integer that specifies the PenStyle. The value MUST be defined from the PenStyle enumeration table, specified in section 2.1.25.
getPenStyle in class EmfBasePenpublic void setPenStyle(int value)
Gets or sets a 32-bit unsigned integer that specifies the PenStyle. The value MUST be defined from the PenStyle enumeration table, specified in section 2.1.25.
setPenStyle in class EmfBasePenpublic Point getWidth()
Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field. The value of its y field MUST be ignored.
public void setWidth(Point value)
Gets or sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the width of the pen by the value of its x field. The value of its y field MUST be ignored.
public int getAffectWidth()
Gets or sets the width of the affect.
Value: The width of the affect.public void setAffectWidth(int value)
Gets or sets the width of the affect.
Value: The width of the affect.public int getArgb32ColorRef()
Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.
Value: The 32-bit ARGB colorgetArgb32ColorRef in class EmfBasePenpublic void setArgb32ColorRef(int value)
Gets or sets a WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies the pen color value.
Value: The 32-bit ARGB colorsetArgb32ColorRef in class EmfBasePen