@API(type=EXTENDABLE, src=PUBLIC) public abstract class AuthorImageDecorator extends java.lang.Object implements Extension
Permits decoration of the images that are displayed in the Author view. For instance it can overlay some meta-information over the image.
It receives the graphics device, the size and position of the underlying image.
|Constructor and Description|
|Modifier and Type||Method and Description|
Decorates an image.
public abstract void paint(Graphics g, int x, int y, int imageWidth, int imageHeight, Rectangle originalSize, AuthorNode element, AuthorAccess authorAccess, boolean wasAnnotated)
g- The graphics.
x- The X of the area to be painted. It is the top left corner of the image.
y- The Y of the area to be painted. It is the top left corner of the image.
imageWidth- The image width.
imageHeight- The image height.
originalSize- The original size of the image.
element- The element to be painted.
authorAccess- The author access.
truethe image was annotated with previous dimensions.
© Copyright SyncRO Soft SRL 2002 - 2017. All rights reserved.