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) boolean
hasGradient
(mxGraphics2DCanvas canvas, mxCellState state) void
paintShape
(mxGraphics2DCanvas canvas, mxCellState state) Methods inherited from class com.mxgraph.shape.mxRectangleShape
getArcSize
Methods inherited from class com.mxgraph.shape.mxBasicShape
configureGraphics, createShape, getGradientBounds, hasShadow
-
Constructor Details
-
mxImageShape
public mxImageShape()
-
-
Method Details
-
paintShape
- Specified by:
paintShape
in interfacemxIShape
- Overrides:
paintShape
in classmxRectangleShape
-
getImageBounds
-
hasGradient
- Overrides:
hasGradient
in classmxBasicShape
-
getImageForStyle
-
getFillColor
- Overrides:
getFillColor
in classmxBasicShape
-
getStrokeColor
- Overrides:
getStrokeColor
in classmxBasicShape
-