com.jniwrapper.win32.gdi
Class Pen

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Pointer.Void
          extended by com.jniwrapper.win32.Handle
              extended by com.jniwrapper.win32.gdi.GdiObject
                  extended by com.jniwrapper.win32.gdi.Pen
All Implemented Interfaces:
com.jniwrapper.IntegerParameter, com.jniwrapper.PointerParameter

public class Pen
extends GdiObject


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jniwrapper.win32.gdi.GdiObject
GdiObject.ImageLoadParameters, GdiObject.ImageType, GdiObject.Type
 
Field Summary
static int PS_ALTERNATE
           
static int PS_COSMETIC
           
static int PS_DASH
           
static int PS_DASHDOT
           
static int PS_DASHDOTDOT
           
static int PS_DOT
           
static int PS_ENDCAP_FLAT
           
static int PS_ENDCAP_MASK
           
static int PS_ENDCAP_ROUND
           
static int PS_ENDCAP_SQUARE
           
static int PS_GEOMETRIC
           
static int PS_INSIDEFRAME
           
static int PS_JOIN_BEVEL
           
static int PS_JOIN_MASK
           
static int PS_JOIN_MITER
           
static int PS_JOIN_ROUND
           
static int PS_NULL
           
static int PS_SOLID
           
static int PS_STYLE_MASK
           
static int PS_TYPE_MASK
           
static int PS_USERSTYLE
           
 
Fields inherited from class com.jniwrapper.win32.gdi.GdiObject
GDI_ERROR, HGDI_ERROR
 
Fields inherited from class com.jniwrapper.win32.Handle
INFINITE_TIMEOUT, INVALID_HANDLE_VALUE, STATUS_ABANDONED_WAIT_0, STATUS_TIMEOUT, STATUS_WAIT_0
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
Pen()
           
Pen(long value)
           
 
Method Summary
static Pen createPen(int penStyle, int penWidth, ColorRef penColor)
           
 
Methods inherited from class com.jniwrapper.win32.gdi.GdiObject
deleteObject, getObject, getObjectType
 
Methods inherited from class com.jniwrapper.win32.Handle
clone, closeHandle, equals, waitFor, waitFor
 
Methods inherited from class com.jniwrapper.Pointer.Void
asFunction, asFunction, asTypedPointer, castTo, castTo, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, a, acceptIOPerformer, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PS_SOLID

public static final int PS_SOLID
See Also:
Constant Field Values

PS_DASH

public static final int PS_DASH
See Also:
Constant Field Values

PS_DOT

public static final int PS_DOT
See Also:
Constant Field Values

PS_DASHDOT

public static final int PS_DASHDOT
See Also:
Constant Field Values

PS_DASHDOTDOT

public static final int PS_DASHDOTDOT
See Also:
Constant Field Values

PS_NULL

public static final int PS_NULL
See Also:
Constant Field Values

PS_INSIDEFRAME

public static final int PS_INSIDEFRAME
See Also:
Constant Field Values

PS_USERSTYLE

public static final int PS_USERSTYLE
See Also:
Constant Field Values

PS_ALTERNATE

public static final int PS_ALTERNATE
See Also:
Constant Field Values

PS_STYLE_MASK

public static final int PS_STYLE_MASK
See Also:
Constant Field Values

PS_ENDCAP_ROUND

public static final int PS_ENDCAP_ROUND
See Also:
Constant Field Values

PS_ENDCAP_SQUARE

public static final int PS_ENDCAP_SQUARE
See Also:
Constant Field Values

PS_ENDCAP_FLAT

public static final int PS_ENDCAP_FLAT
See Also:
Constant Field Values

PS_ENDCAP_MASK

public static final int PS_ENDCAP_MASK
See Also:
Constant Field Values

PS_JOIN_ROUND

public static final int PS_JOIN_ROUND
See Also:
Constant Field Values

PS_JOIN_BEVEL

public static final int PS_JOIN_BEVEL
See Also:
Constant Field Values

PS_JOIN_MITER

public static final int PS_JOIN_MITER
See Also:
Constant Field Values

PS_JOIN_MASK

public static final int PS_JOIN_MASK
See Also:
Constant Field Values

PS_COSMETIC

public static final int PS_COSMETIC
See Also:
Constant Field Values

PS_GEOMETRIC

public static final int PS_GEOMETRIC
See Also:
Constant Field Values

PS_TYPE_MASK

public static final int PS_TYPE_MASK
See Also:
Constant Field Values
Constructor Detail

Pen

public Pen(long value)

Pen

public Pen()
Method Detail

createPen

public static Pen createPen(int penStyle,
                            int penWidth,
                            ColorRef penColor)