RectangleFactory

object RectangleFactory : ShapeFactory<RectangleParameters>

Functions

buildRectangle
Link copied to clipboard
common
fun buildRectangle(rectParams: RectangleParameters): Shape
Creates the points for the outline of a rectangle.
fun buildRectangle(topLeft: Position, size: Size): Shape
Creates the points for the outline of a rectangle.
createShape
Link copied to clipboard
common
open override fun createShape(shapeParameters: RectangleParameters): Shape
Creates the Shape this ShapeFactory is responsible for building.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Sources

(source)
Link copied to clipboard