Class CanvasObject

  • Direct Known Subclasses:
    Gradient, Pattern

    public abstract class CanvasObject
    extends NativeObjectContainer
    Base object for pattern and gradient instances, based on canvas element.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getId

        public final String getId()
        Returns the unique canvas object id.
        Returns:
        the unique canvas object id.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object