Browsable Rascal Figure SWT Applet Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: api/rascal/swt/extracted
Source used for this grammar: Bert Lisser, vis::FigureSWTApplet, 2009–2013 [Explore]

Summary

Syntax

DrawCmd ::=
	[rect]::(left⟩:integertop⟩:integerwidth⟩:integerheight⟩:integer)
	[ellipse]::(left⟩:integertop⟩:integerwidth⟩:integerheight⟩:integer)
	[line]::(fromX⟩:integerfromY⟩:integertoX⟩:integertoY⟩:integer)
	[fill]::⟨color⟩:integer
	[stroke]::⟨color⟩:integer
	[strokeWeight]::⟨weight⟩:integer
	[text]::(title⟩:stringleft⟩:integertop⟩:integer)
	[textColor]::⟨color⟩:integer
	[textFont]::(font⟩:stringsize⟩:integer)
	[textSize]::⟨size⟩:integer

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []