Class RMEffectTool

Direct Known Subclasses:
RMBlurEffectTool, RMEmbossEffectTool, RMReflectionEffectTool, RMShadowEffectTool

public class RMEffectTool extends SwingOwner
Provides a tool for editing RMFills.
  • Constructor Details

    • RMEffectTool

      public RMEffectTool()
  • Method Details

    • getEditor

      public RMEditor getEditor()
      Returns the currently active editor.
    • getEffectCount

      public int getEffectCount()
      Returns the number of known effects.
    • getEffect

      public RMEffect getEffect(int anIndex)
      Returns an individual effect at given index.
    • getSelectedEffect

      public RMEffect getSelectedEffect()
      Returns the currently selected shape's effect.
    • setSelectedEffect

      public void setSelectedEffect(RMEffect anEffect)
      Iterate over editor selected shapes and set fill.
    • getTool

      public static RMEffectTool getTool()
      Returns the shared base tool instance.
    • getTool

      public static RMEffectTool getTool(Object anObj)
      Returns the specific tool for a given shape.