public class mxLabelShape extends mxImageShape
Constructor and Description |
---|
mxLabelShape() |
Modifier and Type | Method and Description |
---|---|
static void |
drawGlassEffect(mxGraphics2DCanvas canvas,
mxCellState state)
Draws the glass effect
|
Color |
getFillColor(mxGraphics2DCanvas canvas,
mxCellState state) |
Rectangle |
getImageBounds(mxGraphics2DCanvas canvas,
mxCellState state) |
Color |
getStrokeColor(mxGraphics2DCanvas canvas,
mxCellState state) |
boolean |
hasGradient(mxGraphics2DCanvas canvas,
mxCellState state) |
void |
paintShape(mxGraphics2DCanvas canvas,
mxCellState state) |
getImageForStyle
getArcSize
configureGraphics, createShape, getGradientBounds, hasShadow
public void paintShape(mxGraphics2DCanvas canvas, mxCellState state)
paintShape
in interface mxIShape
paintShape
in class mxImageShape
public static void drawGlassEffect(mxGraphics2DCanvas canvas, mxCellState state)
public Rectangle getImageBounds(mxGraphics2DCanvas canvas, mxCellState state)
getImageBounds
in class mxImageShape
public Color getFillColor(mxGraphics2DCanvas canvas, mxCellState state)
getFillColor
in class mxImageShape
public Color getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)
getStrokeColor
in class mxImageShape
public boolean hasGradient(mxGraphics2DCanvas canvas, mxCellState state)
hasGradient
in class mxImageShape
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.