Package com.mxgraph.shape
Class mxImageShape
java.lang.Object
com.mxgraph.shape.mxBasicShape
com.mxgraph.shape.mxRectangleShape
com.mxgraph.shape.mxImageShape
- All Implemented Interfaces:
mxIShape
- Direct Known Subclasses:
mxLabelShape
A rectangular shape that contains a single image. See mxImageBundle for
creating a lookup table with images which can then be referenced by key.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFillColor(mxGraphics2DCanvas canvas, mxCellState state) getImageBounds(mxGraphics2DCanvas canvas, mxCellState state) getImageForStyle(mxGraphics2DCanvas canvas, mxCellState state) getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state) booleanhasGradient(mxGraphics2DCanvas canvas, mxCellState state) voidpaintShape(mxGraphics2DCanvas canvas, mxCellState state) Methods inherited from class com.mxgraph.shape.mxRectangleShape
getArcSizeMethods inherited from class com.mxgraph.shape.mxBasicShape
configureGraphics, createShape, getGradientBounds, hasShadow
-
Constructor Details
-
mxImageShape
public mxImageShape()
-
-
Method Details
-
paintShape
- Specified by:
paintShapein interfacemxIShape- Overrides:
paintShapein classmxRectangleShape
-
getImageBounds
-
hasGradient
- Overrides:
hasGradientin classmxBasicShape
-
getImageForStyle
-
getFillColor
- Overrides:
getFillColorin classmxBasicShape
-
getStrokeColor
- Overrides:
getStrokeColorin classmxBasicShape
-