Drawing |
The DrawingBase type exposes the following members.
| Name | Description | |
|---|---|---|
| Alert(String, String) |
Alert, with Medium. This alert is raised once.
(Inherited from ChartVisualBase) | |
| Alert(String, String, TimeSpan) |
Alert with Medium (Inherited from ChartVisualBase) | |
| Alert(String, Priority, Brush, String) |
Alert. This alert is raised only once
(Inherited from ChartVisualBase) | |
| Alert(String, Priority, Brush, String, TimeSpan) |
Alert
(Inherited from ChartVisualBase) | |
| Alert(String, IInstrument, Priority, Brush, String, TimeSpan) |
Shoots an alert.
The alert is triggered only when the State is Realtime (Inherited from SharpScriptBase) | |
| CalculateMid | Calculate the mid point of a line | |
| CalculateMinMax | (Inherited from ChartVisualBase) | |
| CalculatePriceFromY(Double, ChartVisualArgs) |
Calculate price from Y (Inherited from VisualBase) | |
| CalculatePriceFromY(Double, Double, Double, Double, Double, ScaleType) |
Calculate the price from Y (Inherited from VisualBase) | |
| CalculateSlope | Calculates the slope between 2 points | |
| CalculateXFromBarIndex |
Calculate the X from bars index
(Inherited from VisualBase) | |
| CalculateXFromTimeOrBarIndex | Calculates the X from time or bar index | |
| CalculateYFromPrice(Double, ChartVisualArgs) |
Calulate the Y point from price
(Inherited from VisualBase) | |
| CalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType) |
Calculate Y from price
(Inherited from VisualBase) | |
| CanRender | (Inherited from ChartVisualBase) | |
| CloseLevel1Stream | Close the Level1Stream | |
| Contains | Checks if the hit-test contains a drawing object | |
| CreateCollectionT | Creates a ConcurrentObservableCollection | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | (Inherited from SharpScriptBase) | |
| GetAngle | Gets the angle of two points | |
| GetExtendedPoint(Point, Point, ChartVisualArgs) | Get the extended point between two points | |
| GetExtendedPoint(Point, Point, Double) | Calculates the extend point value of a line | |
| GetHandle | Gets the handle | |
| GetHandleCursor |
Returns the handle cursor
(Inherited from ChartVisualBase) | |
| GetHandleRect | Returns the rectangle handle | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetLength | Returns the distance between 2 points | |
| GetParallalPoint | Gets the parallal points from a line | |
| GetSnapPoint(ChartVisualArgs) | Gets the snap point depending on the SnapMode. | |
| GetSnapPoint(Point, ChartVisualArgs) | Gets the snap point depending on the SnapMode | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InvalidateView | (Inherited from ChartVisualBase) | |
| InvokeAsync |
Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase) | |
| IsLineIntersectsLine | Checks if two line intersects with each other | |
| IsLineIntersectsRect | Checks if a line intersects with a Rect | |
| IsLineVisibleOnScreen | Checks if the line is displayed on the view | |
| Log(String) |
Logs a message with Low (Inherited from SharpScriptBase) | |
| Log(Priority, String) |
Logs a message with the specified Priority (Inherited from SharpScriptBase) | |
| Log(Priority, Brush, String) |
Logs a message with the specified Priority and defined brush
(Inherited from SharpScriptBase) | |
| MakeHitTest |
Hit test.
Return value: -1 - no hit, 0 - hit anywhere, > 1 - handle number
(Overrides ChartVisualBaseMakeHitTest(ChartVisualArgs)) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Move |
Mode the visual
(Inherited from ChartVisualBase) | |
| MoveHandleTo | Moves the handle to the specified point | |
| NotifyPropertyChanged | (Inherited from SharpScriptBase) | |
| OnLevel1 |
Opens the Level-I stream
(Inherited from ChartVisualBase) | |
| OnLevel2 |
Opens the Level-II stream
(Inherited from ChartVisualBase) | |
| OnPreviewMouseDown | If overriden then the drawing cursor will be available in the chart drawing menu item. This will be not called if the DrawingBase object is drawn programmatically. | |
| OnPreviewMouseMove | Invoked on mouse move while creating or modifying DrawingBase object manually This will be not called if the DrawingBase object is drawn programmatically. | |
| OnPreviewMouseUp | Triggers on mouse up | |
| OnPreviewTextInput | Invoked upon text input via keyboard when a DrawingBase object is selected | |
| OnRender |
Renders the DrawingBase (Overrides ChartVisualBaseOnRender(DrawingContext, ChartVisualArgs)) | |
| OnRenderYAxis |
Renders the YAxis
(Overrides ChartVisualBaseOnRenderYAxis(DrawingContext, ChartVisualArgs)) | |
| OnStateChange |
Invoked when the State changes
(Inherited from SharpScriptBase) | |
| PlaySound |
Play a sound file as located in the folder ~\Documents\ArthaChitra 2\Sounds
(Inherited from SharpScriptBase) | |
| Print(String, String) |
Prints a message with Low (Inherited from SharpScriptBase) | |
| Print(Brush, String, String) |
Prints a message with a defined foreground brush
(Inherited from SharpScriptBase) | |
| Print(Priority, String, String) |
Prints a message with the defined Priority (Inherited from SharpScriptBase) | |
| Recalculate |
Recalculates the parameters
(Overrides ChartVisualBaseRecalculate(ChartVisualArgs)) | |
| Round |
Rounds the value with the factor as defined in Options > General tab > RoundFactor (Inherited from SharpScriptBase) | |
| SelectionSteps |
How far the selection rectangle will be drawn
(Inherited from VisualBase) | |
| Share |
Share messages via to social media SocialType
The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| ToStringFormat |
Gets the formatted string value
(Inherited from ChartVisualBase) |