asSet property

Set<Corner> asSet

Return the Set<Corner> of this CornerSpec's potential Corners.

Quickly determine if this ShapeSpec has any Corners of a specific type.

Implementation

Set<Corner> get asSet => {topLeft, topRight, bottomRight, bottomLeft};