ComponentOne Gauges for WPF and Silverlight
GetGeometry Method (C1Gauge)

C1.WPF.Gauge Namespace > C1Gauge Class : GetGeometry Method
Value where the geometry has to start.
Value where the geometry has to end.
Relative (0-1) starting offset of the element in the y-axis.
Relative (0-1) ending offset of the element in the y-axis.
Relative (0-1) staring width of the geometry.
Relative (0-1) ending width of the geometry.
Builds the geometry used to represent the fill of an element from a starting value to an end one.
Syntax
'Declaration
 
Public MustOverride Function GetGeometry( _
   ByVal startValue As System.Double, _
   ByVal endValue As System.Double, _
   ByVal yAxisStartLocation As System.Double, _
   ByVal yAxisEndLocation As System.Double, _
   ByVal relativeStartWidth As System.Double, _
   ByVal relativeEndWidth As System.Double _
) As System.Windows.Media.Geometry
public abstract System.Windows.Media.Geometry GetGeometry( 
   System.double startValue,
   System.double endValue,
   System.double yAxisStartLocation,
   System.double yAxisEndLocation,
   System.double relativeStartWidth,
   System.double relativeEndWidth
)

Parameters

startValue
Value where the geometry has to start.
endValue
Value where the geometry has to end.
yAxisStartLocation
Relative (0-1) starting offset of the element in the y-axis.
yAxisEndLocation
Relative (0-1) ending offset of the element in the y-axis.
relativeStartWidth
Relative (0-1) staring width of the geometry.
relativeEndWidth
Relative (0-1) ending width of the geometry.

Return Value

Geometry used to represent the fill of the element.
See Also

Reference

C1Gauge Class
C1Gauge Members