Package snap.gfx
Class PainterDVR.SetOpacity
java.lang.Object
snap.gfx.PainterDVR.Instruction
snap.gfx.PainterDVR.SetOpacity
- Enclosing class:
- PainterDVR
An instruction to setOpacity().
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SetOpacity
public SetOpacity(double aValue) Creates a new SetOpacity.
-
-
Method Details
-
getOpacity
public double getOpacity()Returns the opacity. -
exec
Plays the op in given painter.- Specified by:
exec
in classPainterDVR.Instruction
-
equals
Standard equals implementation.- Overrides:
equals
in classPainterDVR.Instruction
-
toString
Standard toString implementation.- Overrides:
toString
in classPainterDVR.Instruction
-