mxIShape
mxLabelShape
public class mxImageShape extends mxRectangleShape
Constructor | Description |
---|---|
mxImageShape() |
Modifier and Type | Method | 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) |
configureGraphics, createShape, getGradientBounds, hasShadow
getArcSize
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-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.