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, wait
getGenericRecordType
getGenericChildren
protected HwmfPenStyle penStyle
protected final java.awt.geom.Dimension2D dimension
protected final HwmfColorRef colorRef
public HwmfRecordType getWmfRecordType()
getWmfRecordType
in interface HwmfRecord
public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecord
init
in interface HwmfRecord
leis
- the little endian input streamjava.io.IOException
public void draw(HwmfGraphics ctx)
HwmfRecord
draw
in interface HwmfRecord
ctx
- the graphics context to modifypublic void applyObject(HwmfGraphics ctx)
applyObject
in interface HwmfObjectTableEntry
public java.lang.String toString()
toString
in class java.lang.Object
public 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 GenericRecord
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.