ConstructorOptions

sealed interface ConstructorOptions(source)

Properties

Link copied to clipboard
abstract var bottomRadius: Double

The radius of the bottom of the cylinder.

Link copied to clipboard
abstract var length: Int

The length of the cylinder.

Link copied to clipboard
abstract var numberOfVerticalLines: Int?

Number of lines to draw between the top and bottom surfaces of the cylinder. Default value - 16

Link copied to clipboard
abstract var slices: Int?

The number of edges around the perimeter of the cylinder. Default value - 128

Link copied to clipboard
abstract var topRadius: Double

The radius of the top of the cylinder.