public static class HwmfMisc.WmfCreatePenIndirect extends Object implements HwmfRecord, HwmfObjectTableEntry
| Modifier and Type | Field and Description |
|---|---|
protected HwmfColorRef |
colorRef
A 32-bit ColorRef Object that specifies the pen color value.
|
protected Dimension2D |
dimension |
protected HwmfPenStyle |
penStyle |
| Constructor and Description |
|---|
WmfCreatePenIndirect() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyObject(HwmfGraphics ctx) |
void |
draw(HwmfGraphics ctx)
Apply the record settings to the graphics context
|
HwmfColorRef |
getColorRef() |
Dimension2D |
getDimension() |
Map<String,Supplier<?>> |
getGenericProperties() |
HwmfPenStyle |
getPenStyle() |
HwmfRecordType |
getWmfRecordType() |
int |
init(LittleEndianInputStream leis,
long recordSize,
int recordFunction)
Init record from stream
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericRecordTypegetGenericChildrenprotected HwmfPenStyle penStyle
protected final Dimension2D dimension
protected final HwmfColorRef colorRef
public HwmfRecordType getWmfRecordType()
getWmfRecordType in interface HwmfRecordpublic int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws IOException
HwmfRecordinit in interface HwmfRecordleis - the little endian input streamIOExceptionpublic void draw(HwmfGraphics ctx)
HwmfRecorddraw in interface HwmfRecordctx - the graphics context to modifypublic void applyObject(HwmfGraphics ctx)
applyObject in interface HwmfObjectTableEntrypublic HwmfPenStyle getPenStyle()
public Dimension2D getDimension()
public HwmfColorRef getColorRef()
public Map<String,Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecord