GrammarScope  4.0.0
Public Member Functions | Package Functions | Private Attributes | Static Private Attributes | List of all members
grammarscope.browser.renderer.CurlyBracePath2 Class Reference
Collaboration diagram for grammarscope.browser.renderer.CurlyBracePath2:
Collaboration graph
[legend]

Public Member Functions

 CurlyBracePath2 (final int xFrom, final int xTo, final int xMid, final int y)
 

Package Functions

void paint (final Graphics2D g2)
 

Private Attributes

final int xFrom
 
final int xTo
 
final int xMid
 
final int y
 
final CubicCurve2D cc1
 
final CubicCurve2D cc2
 

Static Private Attributes

static final int CURLY_HEIGHT = 4
 

Constructor & Destructor Documentation

◆ CurlyBracePath2()

grammarscope.browser.renderer.CurlyBracePath2.CurlyBracePath2 ( final int  xFrom,
final int  xTo,
final int  xMid,
final int  y 
)

Constructor

Parameters
xFromendpoint1 x
xToendpoint2 x
xMidmid position x
yy

Member Function Documentation

◆ paint()

void grammarscope.browser.renderer.CurlyBracePath2.paint ( final Graphics2D  g2)
package

Paint

Parameters
g2graphics context

Member Data Documentation

◆ cc1

final CubicCurve2D grammarscope.browser.renderer.CurlyBracePath2.cc1
private

First cubic curve

◆ cc2

final CubicCurve2D grammarscope.browser.renderer.CurlyBracePath2.cc2
private

Second cubic curve

◆ CURLY_HEIGHT

final int grammarscope.browser.renderer.CurlyBracePath2.CURLY_HEIGHT = 4
staticprivate

◆ xFrom

final int grammarscope.browser.renderer.CurlyBracePath2.xFrom
private

Endpoint1 x

◆ xMid

final int grammarscope.browser.renderer.CurlyBracePath2.xMid
private

Mid point x

◆ xTo

final int grammarscope.browser.renderer.CurlyBracePath2.xTo
private

Endpoint2 x

◆ y

final int grammarscope.browser.renderer.CurlyBracePath2.y
private

Y


The documentation for this class was generated from the following file: