Package 

Class CanvasExtensionsKt

    • 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 clear(Canvas $self) Clears a given canvas.
      final static Function0<Unit> createDrawRectangleCommand(Canvas $self, Rectangle rectangle, Paint colour) Returns a command for drawing the given rectangle on the caller canvas.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • clear

         final static Unit clear(Canvas $self)

        Clears a given canvas.

      • createDrawRectangleCommand

         final static Function0<Unit> createDrawRectangleCommand(Canvas $self, Rectangle rectangle, Paint colour)

        Returns a command for drawing the given rectangle on the caller canvas.