class GraphicsLine : GraphicsItem

book_4_sparkGenerated
code_blocksInput

Description

The GraphicsLine class in the Editor namespace is a specialized type of GraphicsItem used for drawing lines in the editor environment. It provides methods to manipulate line paths and properties to define line characteristics.

Members

Instance Members

Member Name Summary
Clear Clears the current line path, removing all points and segments.
MoveTo Moves the current drawing position to the specified point without creating a line segment.
LineTo Adds a line segment from the current position to the specified point.
CubicLineTo Adds a cubic Bezier curve to the path, using two control points and an endpoint.
HitWidth Gets or sets the width used for hit testing the line.