Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: Shape3D
Wraps JavaFX Cylinder, a 3D cylinder primitive defined by a radius, a height, and a subdivision count for the circular cross section. The cylinder is centered at the local origin with its axis along the Y axis.
Cylinder (double Radius = 1.0, double Height = 2.0, int Divisions = 64)
Creates a new Cylinder with the given radius, height, and division count.
Radius is a double with the cylinder radius.Height is a double with the cylinder height along the Y axis.Divisions is an optional int with the cross section division count (default 64).setRadius (double R)
Sets the cylinder radius.
R is a double with the new radius.this objectsetHeight (double H)
Sets the cylinder height.
H is a double with the new height.this objectgetRadius ()
Returns the cylinder radius.
A double with the radius.getHeight ()
Returns the cylinder height.
A double with the height.getDivisions ()
Returns the subdivision count.
An int with the divisions.heightProperty ()
Returns the DoubleProperty AJO for the height.
An AJO around the height DoubleProperty.radiusProperty ()
Returns the DoubleProperty AJO for the radius.
An AJO around the radius DoubleProperty.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.