public final class Line extends SimpleShape
| Modifier and Type | Field | 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
|
_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI_clientData, _clientRecords, DEFAULT_LINE_WIDTH| Modifier | Constructor | Description |
|---|---|---|
|
Line() |
|
protected |
Line(EscherContainerRecord escherRecord,
Shape parent) |
|
|
Line(Shape parent) |
| Modifier and Type | Method | Description |
|---|---|---|
protected EscherContainerRecord |
createSpContainer(boolean isChild) |
Create a new Shape
|
java.awt.Shape |
getOutline() |
Return shape outline as a java.awt.Shape object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterInsert, getAnchor, getAnchor2D, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFlipHorizontal, getFlipVertical, getHyperlink, getParent, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setRotation, setShapeId, setShapeType, setSheetdraw, getClientDataRecord, getClientRecords, getFillColor, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, updateClientDatapublic 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)
SimpleShapecreateSpContainer in class SimpleShapeisChild - true if the Line is inside a group, false otherwisepublic java.awt.Shape getOutline()
ShapegetOutline in class ShapeCopyright 2018 The Apache Software Foundation or its licensors, as applicable.