Std.Ui.Draw
7 public declarations
- DrawError
Why a drawing was refused.
- explain
&Std.Ui.Draw.DrawError -> StrA one-line description of a refusal.
- line
&Std.Ui.Canvas.Canvas -> Std.Ui.Canvas.Point -> Std.Ui.Canvas.Point -> Int -> Std.Ui.Canvas.Color -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Draw.DrawError]The canvas with a straight stroke from
fromtoto,widthpixels - linearGradient
&Std.Ui.Canvas.Canvas -> Std.Ui.Canvas.Rect -> Std.Ui.Canvas.Color -> Std.Ui.Canvas.Color -> Bool -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Draw.DrawError]The canvas with
areafilled fromfromtoto: left to right when - outline
&Std.Ui.Canvas.Canvas -> Std.Ui.Canvas.Rect -> Int -> Std.Ui.Canvas.Color -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Draw.DrawError]The canvas with the edges of
areastrokedwidthpixels inward. - polygon
&Std.Ui.Canvas.Canvas -> &Array[Std.Ui.Canvas.Point] -> Std.Ui.Canvas.Color -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Draw.DrawError]The canvas with the polygon through
pointsfilled by the even-odd - polyline
&Std.Ui.Canvas.Canvas -> &Array[Std.Ui.Canvas.Point] -> Int -> Std.Ui.Canvas.Color -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Draw.DrawError]The canvas with strokes joining consecutive
points.
