Spec-Zone .ru
спецификации, руководства, описания, API

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

Profile: desktop, common

Overview

A path element that forms an arc from the previous coordinates to the specified x and y coordinates using the specified radius. Example:

For more information on path elements see the Path and PathElement classes.

the code:

import javafx.scene.shape.*;

Path {
    elements: [
        MoveTo { x: 0  y: 0 },
        ArcTo { x: 50  y: 50  radiusX: 50  radiusY: 50 } ]
}

produces:

Profile: common

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publiclargeArcFlagBooleanfalse

The large arc flag.

publicradiusXNumber0.0

The horizontal radius to use for the arc.

publicradiusYNumber0.0

The vertical radius to use for the arc.

publicsweepFlagBooleanfalse

The sweep flag

publicxNumber0.0

The x coordinate to arc to.

publicxAxisRotationNumber0.0

The x-axis rotation in degrees.

publicyNumber0.0

The y coordinate to arc to.

Inherited Variables

javafx.scene.shape.PathElement

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicabsoluteBooleantrue

A flag that indicates whether the path coordinates are absolute or relative.

A flag that indicates whether the path coordinates are absolute or relative. A value of true indicates that the coordinates are absolute values. A value of false indicates that the values in this PathElement are added to the coordinates of the previous PathElement to compute the actual coordinates.

true

Profile: common

 

Inherited Functions