public DoubleProperty arcWidthProperty ( ) { if ( this . arcWidth == null ) { this . arcWidth = new DependentSimpleDoubleProperty < ReadOnlyDoubleProperty > ( this , MathFXAttributeNames . ARC_WIDTH , widthProperty ( ) ) { @ Override protected void invalidated ( ReadOnlyDoubleProperty dependency ) { final double value = get ( ) ; if ( value < 0. ) { set ( 0. ) ; } else { final double maxArcWidth = dependency . get ( ) / 2. ; if ( value > maxArcWidth ) { set ( maxArcWidth ) ; } } } } ; } return this . arcWidth ; }
Replies the property for the arc width .