Search
(press
s
)
PathNode
PathNode
LineWidth
horizontal
vertical
line
bezier
quadraticBezier
arcEllipse
arcCircle
close
lineWidthToTvgt
toText
Color
Color
ColorEncoding
toText
rocPurple
Basic
fromBasic
basicToStr
basicFromStr
Style
Style
flat
linear
radial
toText
Command
Command
fillRectangles
fillPath
outlineFillRectangles
drawLines
toText
Graphic
Graphic
graphic
applyColor
addCommand
toText
Return to Roc packages
Documentation
PathNode
PathNode
Represents the various path node types that are supported by the TVG draw commands.
LineWidth
horizontal
: { lw ? LineWidth, x : Dec } -> PathNode
vertical
: { lw ? LineWidth, y : Dec } -> PathNode
line
: { lw ? LineWidth, x : Dec, y : Dec } -> PathNode
bezier
: { lw ? LineWidth, x1 : Dec, y1 : Dec, x2 : Dec, y2 : Dec, x3 : Dec, y3 : Dec } -> PathNode
quadraticBezier
: { lw ? LineWidth, x1 : Dec, y1 : Dec, x2 : Dec, y2 : Dec } -> PathNode
arcEllipse
: { lw ? LineWidth, radiusX : Dec, radiusY : Dec, angle : Dec, largeArc : Bool, sweep : Bool, x : Dec, y : Dec } -> PathNode
arcCircle
: { lw ? LineWidth, radius : Dec, largeArc : Bool, sweep : Bool, x : Dec, y : Dec } -> PathNode
close
: { lw ? LineWidth } -> PathNode
lineWidthToTvgt
: LineWidth -> Str
toText
: PathNode -> Str