Top Fields Constructors Methods
org.apache.poi.sl.draw

public Class DrawNothing

extends Object
implements Drawable
Class Inheritance
All Implemented Interfaces
org.apache.poi.sl.draw.Drawable
Imports
java.awt.Graphics2D, org.apache.poi.sl.usermodel.Shape

Field Summary

Modifier and TypeField and Description
protected final Shape<?, ?>

Constructor Summary

AccessConstructor and Description
public
DrawNothing(Shape<?, ?> shape)

Method Summary

Modifier and TypeMethod and Description
public void
applyTransform(Graphics2D
the graphics whose transform matrix will be modified
graphics
)

Implements org.apache.poi.sl.draw.Drawable.applyTransform.

Apply 2-D transforms before drawing this shape.

public void
draw(Graphics2D
the graphics to draw into
graphics
)

Implements org.apache.poi.sl.draw.Drawable.draw.

Draw this shape into the supplied canvas

public void
drawContent(Graphics2D
the graphics to draw into
context
)

Implements org.apache.poi.sl.draw.Drawable.drawContent.

draw any content within this shape (image, text, etc.).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

shapeback to summary
protected final Shape<?, ?> shape

Constructor Detail

DrawNothingback to summary
public DrawNothing(Shape<?, ?> shape)

Method Detail

applyTransformback to summary
public void applyTransform(Graphics2D graphics)

Implements org.apache.poi.sl.draw.Drawable.applyTransform.

Apply 2-D transforms before drawing this shape. This includes rotation and flipping.

Parameters
graphics:Graphics2D

the graphics whose transform matrix will be modified

drawback to summary
public void draw(Graphics2D graphics)

Implements org.apache.poi.sl.draw.Drawable.draw.

Doc from org.apache.poi.sl.draw.Drawable.draw.

Draw this shape into the supplied canvas

Parameters
graphics:Graphics2D

the graphics to draw into

drawContentback to summary
public void drawContent(Graphics2D context)

Implements org.apache.poi.sl.draw.Drawable.drawContent.

Doc from org.apache.poi.sl.draw.Drawable.drawContent.

draw any content within this shape (image, text, etc.).

Parameters
context:Graphics2D

the graphics to draw into