using Azimuth;
using Glass;
namespace Prism.Glass
{
///
/// The look of each part of a gradient editor. A part left null draws nothing. The markers are tinted to their
/// stop's color, so draw them white.
///
public struct GradientEditorMaterial
{
///
/// Drawn behind the parts, with its border kept clear of them. Use an invisible material for none.
///
public Material Background;
///
/// Behind the bar, so its transparency shows against something.
///
public Material BarBackdrop;
///
/// The gradient itself. The bar is as wide as this material wants to be.
///
public Material Bar;
///
/// A stop's marker, under the bar and centered on the stop's offset. It is as big as this material wants to
/// be. A marker has no room when this is null.
///
public Material Marker;
///
/// The marker of the selected stop, which is as big as . Null draws the selected stop's
/// marker as the others.
///
public Material SelectedMarker;
///
/// The button that removes the selected stop, under the markers, or null for none.
///
public ButtonMaterial? RemoveButton;
///
/// The gap between the parts.
///
public Scalar Spacing;
///
/// The height of the bar.
///
public Scalar BarHeight;
}
}