JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Defines the thickness on all four sides of a rectangle.

Script Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-readONEThickness

A Thickness with value 1 on all sides.

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicbottomNumber0

The thickness of the bottom side.

publicleftNumber0

The thickness of the left side.

publicrightNumber0

The thickness of the right side.

publictopNumber0

The thickness of the top side.

Inherited Variables

Script Function Summary

public uniform(value: Number) : Thickness

Returns a Thickness object with the specified value on all sides.

Returns a Thickness object with the specified value on all sides.

Parameters
value
The thickness value.
Returns
Thickness
The newly created object.
 

Inherited Functions