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