public final class Line extends SimpleShape
Modifier and Type | Field and Description |
---|---|
static int |
LINE_DOUBLE
Double lines of equal width
|
static int |
LINE_SIMPLE
Single line (of width lineWidth)
|
static int |
LINE_THICKTHIN
Double lines, one thick, one thin
|
static int |
LINE_THINTHICK
Double lines, reverse order
|
static int |
LINE_TRIPLE
Three lines, thin, thick, thin
|
static int |
PEN_DASH
dash style
|
static int |
PEN_DASHDOT
PS_DASHDOT system dash style
|
static int |
PEN_DASHDOTDOT
PS_DASHDOTDOT system dash style
|
static int |
PEN_DASHDOTGEL
dash short dash
|
static int |
PEN_DOT
PS_DOT system dash style
|
static int |
PEN_DOTGEL
square dot style
|
static int |
PEN_LONGDASHDOTDOTGEL
long dash short dash short dash
|
static int |
PEN_LONGDASHDOTGEL
long dash short dash
|
static int |
PEN_LONGDASHGEL
long dash style
|
static int |
PEN_PS_DASH
PS_DASH system dash style
|
static int |
PEN_SOLID
Solid (continuous) pen
|
_clientData, _clientRecords, DEFAULT_LINE_WIDTH
_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI
Modifier | Constructor and Description |
---|---|
|
Line() |
protected |
Line(EscherContainerRecord escherRecord,
Shape parent) |
|
Line(Shape parent) |
Modifier and Type | Method and Description |
---|---|
protected EscherContainerRecord |
createSpContainer(boolean isChild)
Create a new Shape
|
java.awt.Shape |
getOutline()
Return shape outline as a java.awt.Shape object
|
draw, getClientDataRecord, getClientRecords, getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, setRotation, updateClientData
afterInsert, getAnchor, getAnchor2D, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, setShapeType, setSheet
public static final int PEN_SOLID
public static final int PEN_PS_DASH
public static final int PEN_DOT
public static final int PEN_DASHDOT
public static final int PEN_DASHDOTDOT
public static final int PEN_DOTGEL
public static final int PEN_DASH
public static final int PEN_LONGDASHGEL
public static final int PEN_DASHDOTGEL
public static final int PEN_LONGDASHDOTGEL
public static final int PEN_LONGDASHDOTDOTGEL
public static final int LINE_SIMPLE
public static final int LINE_DOUBLE
public static final int LINE_THICKTHIN
public static final int LINE_THINTHICK
public static final int LINE_TRIPLE
protected Line(EscherContainerRecord escherRecord, Shape parent)
public Line(Shape parent)
public Line()
protected EscherContainerRecord createSpContainer(boolean isChild)
SimpleShape
createSpContainer
in class SimpleShape
isChild
- true
if the Line is inside a group, false
otherwisepublic java.awt.Shape getOutline()
Shape
getOutline
in class Shape
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.