Class RMEffectTool

    • Constructor Detail

      • RMEffectTool

        public RMEffectTool()
    • Method Detail

      • 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​(java.lang.Object anObj)
        Returns the specific tool for a given shape.