|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.model.Shape org.apache.poi.hslf.model.SimpleShape org.apache.poi.hslf.model.Line
public final class Line
Represents a line in a PowerPoint drawing
Field Summary | |
---|---|
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 |
Fields inherited from class org.apache.poi.hslf.model.SimpleShape |
---|
_clientData, _clientRecords, DEFAULT_LINE_WIDTH |
Fields inherited from class org.apache.poi.hslf.model.Shape |
---|
_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI |
Constructor Summary | |
---|---|
|
Line()
|
protected |
Line(EscherContainerRecord escherRecord,
Shape parent)
|
|
Line(Shape parent)
|
Method Summary | |
---|---|
protected EscherContainerRecord |
createSpContainer(boolean isChild)
Create a new Shape |
java.awt.Shape |
getOutline()
Return shape outline as a java.awt.Shape object |
Methods inherited from class org.apache.poi.hslf.model.SimpleShape |
---|
draw, getClientDataRecord, getClientRecords, getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setHyperlink, setLineColor, setLineDashing, setLineStyle, setLineWidth, setRotation, updateClientData |
Methods inherited from class org.apache.poi.hslf.model.Shape |
---|
afterInsert, getAnchor, getAnchor2D, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, setShapeType, setSheet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
protected Line(EscherContainerRecord escherRecord, Shape parent)
public Line(Shape parent)
public Line()
Method Detail |
---|
protected EscherContainerRecord createSpContainer(boolean isChild)
SimpleShape
createSpContainer
in class SimpleShape
isChild
- true
if the Line is inside a group, false
otherwise
public java.awt.Shape getOutline()
Shape
getOutline
in class Shape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |