These values are not relative to the stroke width. The first argument of the method is an array containing an even number of two or more values, alternating between lengths of dashes and lengths of gaps between the dashes: public static SKPathEffect CreateDash (Single intervals, Single phase) The use of the PathEffect.CreateDash method was described in the article Dots and Dashes. GetFillPath is also helpful in connection with path effects. This results in some interesting techniques, such as obtaining a path that is an outline of another path. This article also demonstrates how to use the GetFillPath method of SKPaint to convert one path into another path by applying properties of SKPaint, including StrokeWidth and PathEffect. In addition, you can combine two or more path effects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |