Пример #1
0
 /// <summary>
 /// Constructs a new <see cref="CustomCap"/>.
 /// </summary>
 /// <param name="image">Descriptor of the image to be overlaid at the start or end vertex.</param>
 /// <param name="refWidth">Reference stroke width (in pixels) - the stroke width for which the cap image at its native dimension is designed.</param>
 public CustomCap(ImageDescriptor image, float refWidth = 10f)
 {
     Image    = image;
     RefWidth = refWidth;
 }