1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-05-12 08:00:12 +00:00
4 G2D.LineWidth
boxgaming edited this page 2024-01-20 06:06:54 -06:00

Gets or sets the current line width.
All subsequent drawing methods will use line width set by this method.

Syntax

lineWidth = G2D.LineWidth
G2D.LineWidth lineWidth&

Examples

Example1: Draw a thick circle.

Import G2D From "lib/graphics/2d.bas"

Dim oldWidth As Long
oldWidth = G2D.LineWidth

G2D.LineWidth 10
Circle (200, 200), 100, 2

See Also

G2D.LineCap
G2D.LineDash