public class Overlay extends Object
Constructor and Description |
---|
Overlay() |
Modifier and Type | Method and Description |
---|---|
void |
add(Shape shape,
Color color,
Stroke stroke)
Add a new Shape to be painted above all other elements in the canvas.
|
void |
add(Shape shape,
Color color,
Stroke stroke,
boolean as_XOR_color) |
void |
add(Shape shape,
Color color,
Stroke stroke,
boolean fill,
boolean as_XOR_color,
float alpha) |
void |
clear() |
void |
paint(Graphics2D g,
Rectangle srcRect,
double mag) |
void |
remove(Shape shape) |
public void add(Shape shape, Color color, Stroke stroke)
public void add(Shape shape, Color color, Stroke stroke, boolean fill, boolean as_XOR_color, float alpha)
public void remove(Shape shape)
public void clear()
public void paint(Graphics2D g, Rectangle srcRect, double mag)
Copyright © 2015–2021 Fiji. All rights reserved.