示例#1
0
 /// <summary>
 ///     Sets the marker stroke thickness.
 /// </summary>
 /// <param name="marker">The marker to configure.</param>
 /// <param name="thickness">The stroke thickness.</param>
 public static MarkerConfigurator SetStrokeThickness(this MarkerConfigurator marker, double thickness)
 => marker.Set(m => m.StrokeThickness, thickness);
示例#2
0
 /// <summary>
 ///     Sets the marker stroke color.
 /// </summary>
 /// <param name="marker">The marker to configure.</param>
 /// <param name="stroke">The stroke color.</param>
 public static MarkerConfigurator SetStroke(this MarkerConfigurator marker, OxyColor stroke)
 => marker.Set(m => m.Stroke, stroke);
示例#3
0
 /// <summary>
 ///     Sets the marker size.
 /// </summary>
 /// <param name="marker">The marker to configure.</param>
 /// <param name="size">The size.</param>
 public static MarkerConfigurator SetSize(this MarkerConfigurator marker, double size)
 => marker.Set(m => m.Size, size);
示例#4
0
 /// <summary>
 ///     Sets the marker fill color.
 /// </summary>
 /// <param name="marker">The marker to configure.</param>
 /// <param name="fill">The fill color.</param>
 public static MarkerConfigurator SetFill(this MarkerConfigurator marker, OxyColor fill)
 => marker.Set(m => m.Fill, fill);
示例#5
0
 /// <summary>
 ///     Sets the marker type.
 /// </summary>
 /// <param name="marker">The marker to configure.</param>
 /// <param name="type">The marker type.</param>
 public static MarkerConfigurator SetType(this MarkerConfigurator marker, MarkerType type)
 => marker.Set(m => m.Type, type);