com.mxgraph.shape
Class mxImageShape
java.lang.Object
   com.mxgraph.shape.mxBasicShape
com.mxgraph.shape.mxBasicShape
       com.mxgraph.shape.mxRectangleShape
com.mxgraph.shape.mxRectangleShape
           com.mxgraph.shape.mxImageShape
com.mxgraph.shape.mxImageShape
- All Implemented Interfaces: 
- mxIShape
- Direct Known Subclasses: 
- mxLabelShape
- public class mxImageShape 
- extends mxRectangleShape
A rectangular shape that contains a single image
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
mxImageShape
public mxImageShape()
paintShape
public void paintShape(mxGraphics2DCanvas canvas,
                       mxCellState state)
- 
- Specified by:
- paintShapein interface- mxIShape
- Overrides:
- paintShapein class- mxRectangleShape
 
- 
 
getImageBounds
public Rectangle getImageBounds(mxGraphics2DCanvas canvas,
                                mxCellState state)
- 
 
hasGradient
public boolean hasGradient(mxGraphics2DCanvas canvas,
                           mxCellState state)
- 
- Overrides:
- hasGradientin class- mxBasicShape
 
- 
 
getImageForStyle
public String getImageForStyle(mxGraphics2DCanvas canvas,
                               mxCellState state)
- 
 
getFillColor
public Color getFillColor(mxGraphics2DCanvas canvas,
                          mxCellState state)
- 
- Overrides:
- getFillColorin class- mxBasicShape
 
- 
 
getStrokeColor
public Color getStrokeColor(mxGraphics2DCanvas canvas,
                            mxCellState state)
- 
- Overrides:
- getStrokeColorin class- mxBasicShape
 
- 
 
Copyright (c) 2010 Gaudenz Alder. All rights reserved.