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