Class WellPointStyle
public class WellPointStyle : PointBaseStyle
- Inheritance
-
WellPointStyle
- Inherited Members
Constructors
WellPointStyle()
This is the default constructor for the class.
public WellPointStyle()
WellPointStyle(int)
This is the constructor for the class.
public WellPointStyle(int wellPointIndex)
Parameters
wellPointIndex
intThis parameter is the index of the well point style, it would be between 1 and 186
WellPointStyle(int, int, GeoBrush)
This is the constructor for the class.
public WellPointStyle(int wellPointIndex, int symbolSize, GeoBrush fillBrush)
Parameters
wellPointIndex
intThis parameter is the index of the well point style, it would be between 1 and 186
symbolSize
intThis parameter is the size of the well point.
fillBrush
GeoBrushThis parameter is the brush used to draw the well point style.
WellPointStyle(int, int, GeoBrush, GeoPen)
This is the constructor for the class.
public WellPointStyle(int wellPointIndex, int symbolSize, GeoBrush fillBrush, GeoPen outlinePen)
Parameters
wellPointIndex
intThis parameter is the index of the well point style, it would be between 1 and 186
symbolSize
intThis parameter is the size of the well point.
fillBrush
GeoBrushThis parameter is the brush used to draw the well point style.
outlinePen
GeoPenThis parameter is the pen used to draw the well point style.
Properties
WellPointIndex
This property gets or sets the index of the well point style, it is an integer between 1 and 186
public int WellPointIndex { get; set; }
Property Value
Methods
DrawCore(IEnumerable<Feature>, GeoCanvas, Collection<SimpleCandidate>, Collection<SimpleCandidate>)
protected override void DrawCore(IEnumerable<Feature> features, GeoCanvas canvas, Collection<SimpleCandidate> labelsInThisLayer, Collection<SimpleCandidate> labelsInAllLayers)
Parameters
features
IEnumerable<Feature>canvas
GeoCanvaslabelsInThisLayer
Collection<SimpleCandidate>labelsInAllLayers
Collection<SimpleCandidate>
DrawSampleCore(GeoCanvas, DrawingRectangleF)
This method draws a sample feature on the view you provided.
protected override void DrawSampleCore(GeoCanvas canvas, DrawingRectangleF drawingExtent)
Parameters
canvas
GeoCanvasThis parameter represents the view you want to draw the features on.
drawingExtent
DrawingRectangleF
Remarks
This virtual method is called from the concrete public method Draw. In this
method, we draw a sample style on the view you provided. This is typically used to
display a legend or other sample area.
When implementing this virtual method, consider the view size and draw the sample
image appropriately. You should keep in mind that the sample typically shows up on a
legend.
Exceptions
- ArgumentNullException
If you pass a null as the view, we will throw an ArgumentNullException.
- InvalidOperationException
In the event you attempt to call this method when the GeoCanvas's IsDrawing mode is false, it will throw an InvalidOperationException.