public abstract class BasePointMarker extends java.lang.Object implements IPointMarker
IRenderableSeries
Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.BrushStyle> |
fillStyleProperty |
protected com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.PenStyle> |
strokeStyleProperty |
Constructor and Description |
---|
BasePointMarker() |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
detach() |
com.scichart.drawing.common.BrushStyle |
getFillStyle()
Gets the fill style (fill) of the PointMarker
|
int |
getHeight()
Gets the height of the PointMarker in pixels
|
IRenderableSeries |
getRenderableSeries()
Gets the
IRenderableSeries which this IPointMarker instance is associated with |
com.scichart.drawing.common.PenStyle |
getStrokeStyle()
Gets the stroke style (outline) of the PointMarker
|
int |
getWidth()
Gets the width of the PointMarker in pixels
|
void |
invalidateElement() |
boolean |
isAttached() |
void |
onRenderSurfaceChanged()
Called when new
IRenderSurface instance is set for parent ISciChartSurface |
protected void |
onSizeChanged(int width,
int height)
Called when size of the PointMarker changed
|
void |
setFillStyle(com.scichart.drawing.common.BrushStyle fillStyle)
Sets the fill style (fill) of the PointMarker
|
void |
setHeight(int height)
Sets the height of the PointMarker in pixels
|
void |
setSize(int width,
int height)
Sets the size of the PointMarker in pixels
|
void |
setStrokeStyle(com.scichart.drawing.common.PenStyle strokeStyle)
Sets the stroke style (outline) of the PointMarker
|
void |
setWidth(int width)
Sets the width of the PointMarker in pixels
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onDraw
protected final com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.BrushStyle> fillStyleProperty
protected final com.scichart.core.framework.SmartProperty<com.scichart.drawing.common.PenStyle> strokeStyleProperty
public final IRenderableSeries getRenderableSeries()
IRenderableSeries
which this IPointMarker
instance is associated withgetRenderableSeries
in interface IPointMarker
IRenderableSeries
instancepublic final com.scichart.drawing.common.PenStyle getStrokeStyle()
getStrokeStyle
in interface IPointMarker
public final void setStrokeStyle(com.scichart.drawing.common.PenStyle strokeStyle)
setStrokeStyle
in interface IPointMarker
strokeStyle
- New stroke style valuepublic final com.scichart.drawing.common.BrushStyle getFillStyle()
getFillStyle
in interface IPointMarker
public final void setFillStyle(com.scichart.drawing.common.BrushStyle fillStyle)
setFillStyle
in interface IPointMarker
fillStyle
- New fill style valuepublic final int getWidth()
getWidth
in interface IPointMarker
public final void setWidth(int width)
setWidth
in interface IPointMarker
width
- Width of the PointMarker in pixelspublic final int getHeight()
getHeight
in interface IPointMarker
public void setHeight(int height)
setHeight
in interface IPointMarker
height
- Height of the PointMarker in pixelspublic void setSize(int width, int height)
setSize
in interface IPointMarker
width
- Width of the PointMarker in pixelsheight
- Height of the PointMarker in pixelsprotected void onSizeChanged(int width, int height)
width
- New PointMarker width in pixelsheight
- New PointMarker height pixelspublic void attachTo(@NonNull com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
public void detach()
detach
in interface com.scichart.core.framework.IAttachable
public final boolean isAttached()
isAttached
in interface com.scichart.core.framework.IAttachable
public void onRenderSurfaceChanged()
IRenderSurface
instance is set for parent ISciChartSurface
onRenderSurfaceChanged
in interface IRenderSurfaceChangedListener
public void invalidateElement()
invalidateElement
in interface com.scichart.core.framework.IInvalidatableElement