Class Triangle2afpDrawer

    • Constructor Detail

      • Triangle2afpDrawer

        public Triangle2afpDrawer()
    • Method Detail

      • getPrimitiveType

        public Class<? extends Triangle2afp> getPrimitiveType()
        Description copied from interface: Drawer
        Replies the type of the primitives that could be drawn by this drawer.
        Specified by:
        getPrimitiveType in interface Drawer<Triangle2afp>
        Returns:
        the type of the primitives.
      • draw

        public void draw​(ZoomableGraphicsContext gc,
                         Triangle2afp element)
        Description copied from interface: Drawer
        Draw the given document primitives.
        Specified by:
        draw in interface Drawer<Triangle2afp>
        Parameters:
        gc - the graphics context that must be used for drawing.
        element - the primitive to draw.