FXUtil

Profile: desktop, common

Overview

A TargetShape is an area to which a Bone can be pulled by setting toHead or toTail.

Currently only single points are supported as TargetShape.

Profile: desktop

Inherited Variables

Script Function Summary

public createFromPoint(p: javafx.geometry.Point2D) : TargetShape

Creates a TargetShape, which is a point.

Creates a TargetShape, which is a point.

Parameters
p

The coordinates of the TargetShape.

Returns
TargetShape
The created TargetShape .

Profile: desktop

 
public createFromPoint(x: Number, y: Number) : TargetShape

Creates a TargetShape, which is a point.

Creates a TargetShape, which is a point.

Parameters
x

The x-coordinate of the TargetShape.

y

The y-coordinate of the TargetShape.

Returns
TargetShape
The created TargetShape .

Profile: desktop

 

Function Summary

public abstract translate(v: javafx.geometry.Point2D) : TargetShape

Translates this TargetShape.

Translates this TargetShape.

Parameters
v
The translation-vector.
Returns
TargetShape
The translated TargetShape .

Profile: desktop

 

Inherited Functions