|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mxgraph.io.vdx.mxGeneralShape
com.mxgraph.io.vdx.mxDelegateShape
com.mxgraph.io.vdx.mxMasterShape
public class mxMasterShape
This class is a wrapper for a shape element contained in a Master element.
If a property is not found in the shape Element but it may be found in a stylesheet
the property is searched in such stylesheet.
Field Summary |
---|
Fields inherited from class com.mxgraph.io.vdx.mxDelegateShape |
---|
fillStyle, lineStyle, textStyle |
Fields inherited from class com.mxgraph.io.vdx.mxGeneralShape |
---|
shape |
Constructor Summary | |
---|---|
mxMasterShape(Element s)
|
Method Summary | |
---|---|
mxPoint |
getDimentions()
Return the width and height of the Shape expressed like a mxPoint. |
mxPoint |
getOriginPoint(double parentHeight)
Return the co-ordinates of the top left corner of the Shape. |
mxPoint[] |
getVertexPoints(double parentHeight)
Returns the points of a vertex shape. |
Methods inherited from class com.mxgraph.io.vdx.mxGeneralShape |
---|
getAmountArcTo, getAmountConnection, getAmountEllipticalArcTo, getAmountLineTo, getAngle, getBeginXY, getBullet, getEndXY, getFillStyleId, getHeight, getId, getLineStyleId, getLineToXY, getLocPinX, getLocPinY, getNameU, getNumericalValueOfSecundaryTag, getPinX, getPinY, getPrimaryTag, getPrimaryTagIndexed, getRoutingPoints, getShape, getText, getTextCase, getTextChildrens, getTextStyleId, getTxtAngle, getValueOfSecundaryTag, getWidth, hasAngle, hasBullet, hasEllipse, hasHeight, hasLocPinX, hasLocPinY, hasPinX, hasPinY, hasPrimaryTag, hasSecundaryTag, hasText, hasTextCase, hasTxtAngle, hasWidth, hasXForm1D, setShape |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public mxMasterShape(Element s)
Method Detail |
---|
public mxPoint[] getVertexPoints(double parentHeight)
parentHeight
- Height of the parent cell of the vertex.
public mxPoint getOriginPoint(double parentHeight)
parentHeight
- Height of the parent cell of the vertex.
public mxPoint getDimentions()
|
JGraph X 1.4.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |