Package com.mxgraph.shape
Class mxLabelShape
- java.lang.Object
-
- com.mxgraph.shape.mxBasicShape
-
- com.mxgraph.shape.mxRectangleShape
-
- com.mxgraph.shape.mxImageShape
-
- com.mxgraph.shape.mxLabelShape
-
- All Implemented Interfaces:
mxIShape
public class mxLabelShape extends mxImageShape
-
-
Constructor Summary
Constructors Constructor Description mxLabelShape()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voiddrawGlassEffect(mxGraphics2DCanvas canvas, mxCellState state)Draws the glass effectjava.awt.ColorgetFillColor(mxGraphics2DCanvas canvas, mxCellState state)java.awt.RectanglegetImageBounds(mxGraphics2DCanvas canvas, mxCellState state)java.awt.ColorgetStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)booleanhasGradient(mxGraphics2DCanvas canvas, mxCellState state)voidpaintShape(mxGraphics2DCanvas canvas, mxCellState state)-
Methods inherited from class com.mxgraph.shape.mxImageShape
getImageForStyle
-
Methods inherited from class com.mxgraph.shape.mxRectangleShape
getArcSize
-
Methods inherited from class com.mxgraph.shape.mxBasicShape
configureGraphics, createShape, getGradientBounds, hasShadow
-
-
-
-
Method Detail
-
paintShape
public void paintShape(mxGraphics2DCanvas canvas, mxCellState state)
- Specified by:
paintShapein interfacemxIShape- Overrides:
paintShapein classmxImageShape
-
drawGlassEffect
public static void drawGlassEffect(mxGraphics2DCanvas canvas, mxCellState state)
Draws the glass effect
-
getImageBounds
public java.awt.Rectangle getImageBounds(mxGraphics2DCanvas canvas, mxCellState state)
- Overrides:
getImageBoundsin classmxImageShape
-
getFillColor
public java.awt.Color getFillColor(mxGraphics2DCanvas canvas, mxCellState state)
- Overrides:
getFillColorin classmxImageShape
-
getStrokeColor
public java.awt.Color getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)
- Overrides:
getStrokeColorin classmxImageShape
-
hasGradient
public boolean hasGradient(mxGraphics2DCanvas canvas, mxCellState state)
- Overrides:
hasGradientin classmxImageShape
-
-