org.gnu.gdk

Class CapStyle

public class CapStyle extends Enum

Field Summary
static CapStyleBUTT
The ends of the lines are drawn squared off and extending to the coordinates of the end point.
static CapStyleNOT_LAST
The same as BUTT for lines of non-zero width.
static CapStylePROJECTING
The ends of the lines are drawn squared off and extending half the width of the line beyond the end point.
static CapStyleROUND
The ends of the lines are drawn as semicircles with the diameter equal to the line width and centered at the end point.
Method Summary
CapStyleand(CapStyle other)
static CapStyleintern(int value)
CapStyleor(CapStyle other)
booleantest(CapStyle other)
CapStylexor(CapStyle other)

Field Detail

BUTT

public static final CapStyle BUTT
The ends of the lines are drawn squared off and extending to the coordinates of the end point.

NOT_LAST

public static final CapStyle NOT_LAST
The same as BUTT for lines of non-zero width. For zero width lines, the final point on the line will not be drawn.

PROJECTING

public static final CapStyle PROJECTING
The ends of the lines are drawn squared off and extending half the width of the line beyond the end point.

ROUND

public static final CapStyle ROUND
The ends of the lines are drawn as semicircles with the diameter equal to the line width and centered at the end point.

Method Detail

and

public CapStyle and(CapStyle other)

intern

public static CapStyle intern(int value)

or

public CapStyle or(CapStyle other)

test

public boolean test(CapStyle other)

xor

public CapStyle xor(CapStyle other)