HspBall
AbstractColourBallImplements AbstractColourSphere for the Hue-Saturation-Perceived Luminance model.
Constructors
Properties
Implements: Colour
Coordinate
Gets or sets the sphere pivot location. The coordinate is normalised along all dimensions, with x representing the longitude, y the latitude, z the perpendicular and w the opacity.
Disc
Gets the boundary of the disc. This field will be unset before the first paint.
Implements: Nomen
Pivot
Gets the centre point of the pivot. This field will be unset before the first paint.
public PointF Pivot { get; }
PivotVisible
Gets whether the pivot is on the visible part of the sphere.
Zoom
Gets the zoom factor that was relevant during the most recent paint operation.
Methods
AssignSphereState
Most-derived type constructor invoke.
protected void AssignSphereState()
Returns: Must return new instance of the derived type.
Draw
Render this sphere into a graphics context.
public void Draw()
context,
Graphics context.
RectangleF
bounds,
Sphere bounds.
visuals
Sphere drawing properties.
Implements: Draw
SetChannels
#Sets the three channel values.
Returns: True if new channels were successfully applied, false if some rounding/clipping was required.
Overrides: AbstractColourBall.SetChannels
SetColour
Modify the point of this cube to match a certain colour.
Returns: Modified cube.
Implements: SetColour