The x-coordinate offset.
The y-coordinate offset.
Optional
seed: number = 0The seed for randomization.
Optional
hasTrack: boolean = trueIndicates whether to generate track segments.
Optional
height: number = 20The height of the rail.
Optional
width: number = 180The width of the rail.
Optional
perspective: number = 4The perspective parameter for rail generation.
Optional
segments: number = 4The number of segments in the rail.
Optional
hasFront: boolean = trueIndicates whether to generate front rail segments.
Optional
rotation: number = 0.7The rotation parameter for rail.
Optional
strokeWidth: number = 1The stroke width of the rail.
An array of Elements.
Represents Rail SVG elements.