namespace Quik
{
///
/// A line stipple pattern.
///
public struct QuikStipplePattern
{
///
/// The stipple pitch value.
///
public float Pitch;
///
/// The stipple duty cycle.
///
public float DutyCycle;
public QuikStipplePattern(float pitch, float dutyCycle)
{
Pitch = pitch;
DutyCycle = dutyCycle;
}
public static QuikStipplePattern None => new QuikStipplePattern(0.0f, 1.0f);
}
///
/// Stroke style for lines and borders.
///
public class QuikStrokeStyle
{
///
/// Stroke color.
///
public QuikColor Color { get; set; }
///
/// Stroke width.
///
public float Width { get; set; }
// ///
// /// Stroke stipple pattern.
// ///
// public QuikStipplePattern StipplePattern { get; set; }
public QuikStrokeStyle()
{
}
public QuikStrokeStyle(QuikColor color, float width /*, QuikStipplePattern pattern*/)
{
Color = color;
Width = width;
// StipplePattern = pattern;
}
// public QuikStrokeStyle(QuikColor color, float width) : this(color, width, QuikStipplePattern.None)
// {
// }
}
///
/// Fill style for rectangles and the like.
///
public class QuikFillStyle
{
public QuikColor Color { get; set; }
}
}