ReferencesCommonDrawingDraw.Ray()RayAsk a question|Copy page|View as Markdown|More actionsDefinition Represents an interface that exposes information regarding a Ray IDrawingTool. Methods and Properties ParameterDescriptionStartAnchorAn IDrawingTool’s ChartAnchor representing the starting point of the drawing objectEndAnchorAn IDrawingTool’s ChartAnchor representing the end point of the drawing objectStrokeA Stroke object used to draw the object Examples 1// Instantiate a Ray object2Ray myRay = Draw.Ray(this, "tag1", 10, 1000, 0, 1001, Brushes.LimeGreen);3 4// Set a new Stroke for the object5myRay.Stroke = new Stroke(Brushes.Green, DashStyleHelper.DashDot, 3);