Class BasePointMarker
Base class for the PointMarkers, which are small markers drawn once per data point on a IRenderableSeries See Also: SquarePointMarker, DrawablePointMarker, TrianglePointMarker, SpritePointMarker, EllipsePointMarker, CrossPointMarker
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class BasePointMarker implements IPointMarker
Constructors
BasePointMarker()
Declaration
public BasePointMarker()
Fields
fillStyleProperty
Declaration
protected final SmartProperty<BrushStyle> fillStyleProperty
Field Value
Type | Description |
---|---|
SmartProperty<BrushStyle> |
strokeStyleProperty
Declaration
protected final SmartProperty<PenStyle> strokeStyleProperty
Field Value
Type | Description |
---|---|
SmartProperty<PenStyle> |
Methods
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
Type | Name | Description |
---|---|---|
IServiceContainer | services |
detach()
Declaration
public void detach()
getFillStyle()
Gets the fill style (fill) of the PointMarker
Declaration
public final BrushStyle getFillStyle()
Returns
Type | Description |
---|---|
BrushStyle |
getHeight()
Gets the height of the PointMarker in pixels
Declaration
public final int getHeight()
Returns
Type | Description |
---|---|
int |
getRenderableSeries()
Gets the IRenderableSeries which this IPointMarker instance is associated with
Declaration
public final renderableSeries.IRenderableSeries getRenderableSeries()
Returns
Type | Description |
---|---|
renderableSeries.IRenderableSeries |
getStrokeStyle()
Gets the stroke style (outline) of the PointMarker
Declaration
public final PenStyle getStrokeStyle()
Returns
Type | Description |
---|---|
PenStyle |
getWidth()
Gets the width of the PointMarker in pixels
Declaration
public final int getWidth()
Returns
Type | Description |
---|---|
int |
invalidateElement()
Declaration
public void invalidateElement()
isAttached()
Declaration
public final boolean isAttached()
Returns
Type | Description |
---|---|
boolean |
onRenderSurfaceChanged()
Called when new IRenderSurface instance is set for parent ISciChartSurface
Declaration
public void onRenderSurfaceChanged()
onSizeChanged(int width, int height)
Called when size of the PointMarker changed
Declaration
protected void onSizeChanged(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
int | width | New PointMarker width in pixels |
int | height | New PointMarker height pixels |
setFillStyle(BrushStyle fillStyle)
Sets the fill style (fill) of the PointMarker
Declaration
public final void setFillStyle(BrushStyle fillStyle)
Parameters
Type | Name | Description |
---|---|---|
BrushStyle | fillStyle |
setHeight(int height)
Sets the height of the PointMarker in pixels
Declaration
public void setHeight(int height)
Parameters
Type | Name | Description |
---|---|---|
int | height |
setSize(int width, int height)
Sets the size of the PointMarker in pixels
Declaration
public void setSize(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
int | width | |
int | height |
setStrokeStyle(PenStyle strokeStyle)
Sets the stroke style (outline) of the PointMarker
Declaration
public final void setStrokeStyle(PenStyle strokeStyle)
Parameters
Type | Name | Description |
---|---|---|
PenStyle | strokeStyle |
setWidth(int width)
Sets the width of the PointMarker in pixels
Declaration
public final void setWidth(int width)
Parameters
Type | Name | Description |
---|---|---|
int | width |