Interface Drawer<T>

    • Method Detail

      • draw

        void draw​(ZoomableGraphicsContext gc,
                  T primitive)
        Draw the given document primitives.
        Parameters:
        gc - the graphics context that must be used for drawing.
        primitive - the primitive to draw.
      • getPrimitiveType

        @Pure
        Class<? extends T> getPrimitiveType()
        Replies the type of the primitives that could be drawn by this drawer.
        Returns:
        the type of the primitives.