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. 
             (一个 32 位 ColorRef 对象,用于指定画笔颜色值。) 
               |  
          
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  
            HwmfRecord 
            (接口 HwmfRecord 中的 getWmfRecordType) 
           public int init(LittleEndianInputStream leis, long recordSize, int recordFunction) throws java.io.IOException
HwmfRecord 
          init in interface  
            HwmfRecord 
            (接口 HwmfRecord 中的 init) 
           leis - the little endian input stream 
            (leis - 小端输入流) 
           java.io.IOException 
            (java.io.IOException) 
           public void draw(HwmfGraphics ctx)
HwmfRecord 
          draw in interface  
            HwmfRecord 
            (在接口 HwmfRecord 中绘制) 
           ctx - the graphics context to modify 
            (ctx - 要修改的图形上下文) 
           public void applyObject(HwmfGraphics ctx)
applyObject in interface  
            HwmfObjectTableEntry 
            (接口 HwmfObjectTableEntry 中的 applyObject) 
           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 
            (接口 GenericRecord 中的 getGenericProperties) 
           Copyright 2021 The Apache Software Foundation or its licensors, as applicable.