Curve path
- Author
- Bernard Bou
◆ CurvePath()
| grammarscope.browser.renderer.CurvePath.CurvePath |
( |
final int |
xArcFrom, |
|
|
final int |
xArcTo, |
|
|
final int |
xTextFrom, |
|
|
final int |
xTextTo, |
|
|
final int |
yArcFrom, |
|
|
final int |
yArcTo, |
|
|
final int |
yText, |
|
|
final boolean |
flat1, |
|
|
final boolean |
flat2 |
|
) |
| |
Constructor
- Parameters
-
| xArcFrom | arc x from |
| xArcTo | arc x to |
| xTextFrom | label start |
| xTextTo | label end |
| yArcFrom | left origin anchor y |
| yArcTo | right destination anchor y |
| yText | arc base |
| flat1 | true if rowIndex == leftRow |
| flat2 | true if rowIndex == rightRow |
◆ getXControlLeft()
| double grammarscope.browser.renderer.CurvePath.getXControlLeft |
( |
| ) |
|
Get left control x
- Returns
- left control x
◆ getXControlRight()
| double grammarscope.browser.renderer.CurvePath.getXControlRight |
( |
| ) |
|
Get right control x
- Returns
- right control x
◆ getXCornerLeft()
| double grammarscope.browser.renderer.CurvePath.getXCornerLeft |
( |
| ) |
|
Get left corner x
- Returns
- left corner x
◆ getXCornerRight()
| double grammarscope.browser.renderer.CurvePath.getXCornerRight |
( |
| ) |
|
Get right corner x
- Returns
- right corner x
◆ getYBase()
| double grammarscope.browser.renderer.CurvePath.getYBase |
( |
| ) |
|
◆ ARC_SLANT_SPAN
| final double grammarscope.browser.renderer.CurvePath.ARC_SLANT_SPAN = 15 |
|
static |
◆ ARC_TEXT_MARGIN
| final int grammarscope.browser.renderer.CurvePath.ARC_TEXT_MARGIN = 1 |
|
staticprivate |
◆ chunkReverse1
| final boolean grammarscope.browser.renderer.CurvePath.chunkReverse1 = true |
|
staticprivate |
◆ chunkReverse2
| final boolean grammarscope.browser.renderer.CurvePath.chunkReverse2 = true |
|
staticprivate |
◆ REVERSE_ARC_CONTROL_X
| final double grammarscope.browser.renderer.CurvePath.REVERSE_ARC_CONTROL_X = 10 |
|
static |
Control point distance for "UFO catchers"
◆ serialVersionUID
| final long grammarscope.browser.renderer.CurvePath.serialVersionUID = 6035107844301683108L |
|
staticprivate |
◆ SMOOTH_ARC_CURVES
| final boolean grammarscope.browser.renderer.CurvePath.SMOOTH_ARC_CURVES = true |
|
static |
Whether to smoothe arc curves
◆ SMOOTH_ARC_CURVES_USE_STEEPNESS
| final boolean grammarscope.browser.renderer.CurvePath.SMOOTH_ARC_CURVES_USE_STEEPNESS = false |
|
static |
Whether to use steepness in smoothe arc curves
◆ SMOOTH_ARC_STEEPNESS
| final double grammarscope.browser.renderer.CurvePath.SMOOTH_ARC_STEEPNESS = .6 |
|
static |
Steepness of smooth curves (control point)
◆ xControlLeft
| double grammarscope.browser.renderer.CurvePath.xControlLeft |
|
private |
◆ xControlRight
| double grammarscope.browser.renderer.CurvePath.xControlRight |
|
private |
◆ xCornerLeft
| double grammarscope.browser.renderer.CurvePath.xCornerLeft |
|
private |
◆ xCornerRight
| double grammarscope.browser.renderer.CurvePath.xCornerRight |
|
private |
◆ yBase
| final double grammarscope.browser.renderer.CurvePath.yBase |
|
private |
The documentation for this class was generated from the following file:
- grammarscope/browser/src/main/java/grammarscope/browser/renderer/CurvePath.java