Paint: Add 'LineDash' and 'LineDashOffset' synonymous properties.

[GB.DRAW]
* NEW: Paint: 'LineDash' is now a synonymous for the 'Dash' property.
* NEW: Paint: 'LineDashOffset' is now a synonymous for the 'DashOffset' property.
This commit is contained in:
Benoît Minisini 2022-08-10 00:00:26 +02:00
parent 9b66aa13ec
commit 4f9e724d76

View file

@ -1783,7 +1783,9 @@ GB_DESC PaintDesc[] =
GB_STATIC_PROPERTY("Brush", "PaintBrush", Paint_Brush),
GB_STATIC_PROPERTY("BrushOrigin", "PointF", Paint_BrushOrigin),
GB_STATIC_PROPERTY("Dash", "Float[]", Paint_Dash),
GB_STATIC_PROPERTY("LineDash", "Float[]", Paint_Dash),
GB_STATIC_PROPERTY("DashOffset", "f", Paint_DashOffset),
GB_STATIC_PROPERTY("LineDashOffset", "f", Paint_DashOffset),
GB_STATIC_PROPERTY("FillRule", "i", Paint_FillRule),
GB_STATIC_PROPERTY("LineCap", "i", Paint_LineCap),
GB_STATIC_PROPERTY("LineJoin", "i", Paint_LineJoin),