FilledTriangleFactory

object FilledTriangleFactory : ShapeFactory<TriangleParameters>

Functions

buildFilledTriangle
Link copied to clipboard
common
fun buildFilledTriangle(params: TriangleParameters): Shape
Creates the points for a filled triangle.
fun buildFilledTriangle(p1: Position, p2: Position, p3: Position): Shape
Creates the points for a filled triangle.
createShape
Link copied to clipboard
common
open override fun createShape(shapeParameters: TriangleParameters): 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