Package 

Class DrawShapesKt

  • All Implemented Interfaces:

    
    public final class DrawShapesKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit draw(Shape $self, Canvas canvas, Paint paint, Float size, ImageStore imageStore) Draw a shape to canvas.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • draw

         final static Unit draw(Shape $self, Canvas canvas, Paint paint, Float size, ImageStore imageStore)

        Draw a shape to canvas. Implementations are expected to draw within a square of size size and must vertically/horizontally center their asset if it does not have an equal width and height.