public class mxImageShape extends mxRectangleShape
Constructor and Description |
---|
mxImageShape() |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getFillColor(mxGraphics2DCanvas canvas,
mxCellState state) |
java.awt.Rectangle |
getImageBounds(mxGraphics2DCanvas canvas,
mxCellState state) |
java.lang.String |
getImageForStyle(mxGraphics2DCanvas canvas,
mxCellState state) |
java.awt.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 java.awt.Rectangle getImageBounds(mxGraphics2DCanvas canvas, mxCellState state)
public boolean hasGradient(mxGraphics2DCanvas canvas, mxCellState state)
hasGradient
in class mxBasicShape
public java.lang.String getImageForStyle(mxGraphics2DCanvas canvas, mxCellState state)
public java.awt.Color getFillColor(mxGraphics2DCanvas canvas, mxCellState state)
getFillColor
in class mxBasicShape
public java.awt.Color getStrokeColor(mxGraphics2DCanvas canvas, mxCellState state)
getStrokeColor
in class mxBasicShape
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.