Spec-Zone.ru › OpenJavaFX 8
javafx.scene.shape

Class PathElement

java.lang.Object
  • javafx.scene.shape.PathElement

Direct Known Subclasses:

ArcTo, ClosePath, CubicCurveTo, HLineTo, LineTo, MoveTo, QuadCurveTo, VLineTo



public abstract class PathElement
extends Object
The PathElement class represents an abstract element of the Path that can represent any geometric objects like straight lines, arcs, quadratic curves, cubic curves, etc.

Since:

JavaFX 2.0

  • Property Summary

    All MethodsInstance MethodsConcrete Methods
    Type Property and Description
    BooleanProperty absolute
    A flag that indicates whether the path coordinates are absolute or relative.
  • Constructor Summary

    Constructors
    Constructor and Description
    PathElement()
  • Method Summary

    All MethodsInstance MethodsConcrete Methods
    Modifier and Type Method and Description
    BooleanProperty absoluteProperty()
    A flag that indicates whether the path coordinates are absolute or relative.
    boolean isAbsolute()
    Gets the value of the property absolute.
    void setAbsolute(boolean value)
    Sets the value of the property absolute.
    • Methods inherited from class java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Property Detail

    • absolute

      public final BooleanProperty absoluteProperty
      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.

      Default value:

      true

      See Also:

      isAbsolute(), setAbsolute(boolean)

  • Constructor Detail

    • PathElement

      public PathElement()
  • Method Detail

    • setAbsolute

      public final void setAbsolute(boolean value)
      Sets the value of the property absolute.

      Property description:

      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.

      Default value:

      true

    • isAbsolute

      public final boolean isAbsolute()
      Gets the value of the property absolute.

      Property description:

      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.

      Default value:

      true

    • absoluteProperty

      public final BooleanProperty absoluteProperty()
      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.

      Default value:

      true

      See Also:

      isAbsolute(), setAbsolute(boolean)

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API