Class Method
bezierPathForRect:withShape:lineThickness:
Get the bezier path for the specified bezier shape.
Declaration
+(UIBezierPath *)bezierPathForRect:(CGRect)rect withShape:(HSWidgetBezierShape)shape lineThickness:(CGFloat)thickness;
Parameters
-
rect
origin and size of the bezier path
-
shape
bezier shape to get the path of
-
thickness
the thickness of the line used for the bezier path so that that points on path can be adjusted
Return Value
A bezier path for the specified shape. If HSWidgetBezierShapeDefault is specified for the shape then the user selected shape will be specified (or default HSWidgets provides if unset).
Related Links
Bezier Shapes
-
HSWidgetBezierShape
Constants for specifying a bezier shape.
-
+ allBezierShapes
Get information about all the provided bezier shapes.