public static class HwmfMisc.WmfCreatePenIndirect extends java.lang.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 java.awt.geom.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()  | 
java.awt.geom.Dimension2D | 
getDimension()  | 
java.util.Map<java.lang.String,java.util.function.Supplier<?>> | 
getGenericProperties()  | 
HwmfPenStyle | 
getPenStyle()  | 
HwmfRecordType | 
getWmfRecordType()  | 
int | 
init(LittleEndianInputStream leis,
    long recordSize,
    int recordFunction)
Init record from stream 
 | 
java.lang.String | 
toString()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericRecordTypegetGenericChildrenprotected HwmfPenStyle penStyle
protected final java.awt.geom.Dimension2D dimension
protected final HwmfColorRef colorRef
public HwmfRecordType getWmfRecordType()
getWmfRecordType in interface HwmfRecordpublic int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecordinit in interface HwmfRecordleis - the little endian input streamjava.io.IOExceptionpublic void draw(HwmfGraphics ctx)
HwmfRecorddraw in interface HwmfRecordctx - the graphics context to modifypublic void applyObject(HwmfGraphics ctx)
applyObject in interface HwmfObjectTableEntrypublic java.lang.String toString()
toString in class java.lang.Objectpublic HwmfPenStyle getPenStyle()
public java.awt.geom.Dimension2D getDimension()
public HwmfColorRef getColorRef()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordCopyright 2022 The Apache Software Foundation or its licensors, as applicable.