UserGuide

iOS Line

From Xojo Documentation

A Line control draws a line that can be of any length, width, color, and direction. You typically only use a line to customize the way your layout looks. Use do not generally interact with a Line.

Below are useful properties for an iOS Line. Refer to iOSLine in the Language Reference for the complete list.

Properties

Direction

An integer for the direction of the line. This can be horizontal (0), vertical (1), lower left to upper right (2), upper left to lower right (3).

LineColor

The color of the line.

LineWidth

The width (or thickness) of the line.

Usage

Change a line's color:

Line1.LineColor = Color.Blue

See Also

iOSLine class; UserGuide:iOS UI topic