Package snap.gfx

Class PainterDVR.Instruction

java.lang.Object
snap.gfx.PainterDVR.Instruction
Direct Known Subclasses:
PainterDVR.ClipBy, PainterDVR.DrawImage, PainterDVR.DrawImageX, PainterDVR.DrawShape, PainterDVR.DrawString, PainterDVR.FillShape, PainterDVR.Restore, PainterDVR.Save, PainterDVR.SetFont, PainterDVR.SetOpacity, PainterDVR.SetPaint, PainterDVR.SetStroke, PainterDVR.SetTransform, PainterDVR.TransformBy
Enclosing class:
PainterDVR

public abstract static class PainterDVR.Instruction extends Object
A class to represent instructions.
  • Constructor Details

    • Instruction

      public Instruction()
  • Method Details

    • exec

      public abstract void exec(Painter aPntr)
      Plays the op in given painter.
    • equals

      public boolean equals(Object anObj)
      Standard equals implementation.
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Standard toString implementation.
      Overrides:
      toString in class Object