December 2014
Intermediate to advanced
512 pages
17h 4m
English
We’ve already seen examples of setting the Stroke property on shapes, but the Shape class defines a number of other stroke-related properties. One simple property is StrokeThickness of type double (with a default value of 1). But that’s not all:
StrokeStartLineCap and StrokeEndLineCap—Customize any open segment endpoints with a value from the PenLineCap enumeration: Flat (the default), Square, Round, or Triangle. For any endpoints that join two segments, you can customize their appearance with StrokeLineJoin instead.
StrokeLineJoin—Affects corners with a value from the PenLineJoin enumeration: Miter (the default), ...
Read now
Unlock full access