[]
        
(Showing Draft Content)

C1.C1Preview.LineDef.IsSameStyle

IsSameStyle Method

IsSameStyle(LineDef)

Tests whether the current and another LineDef objects define same line styles - i.e. whether the values of Color, BackColor, DashStyle and DashPattern properties are the same. Note that this method does NOT compare the lines' widths.

Declaration
public bool IsSameStyle(LineDef line)
Parameters
Type Name Description
LineDef line

A LineDef to compare to the current one.

Returns
Type Description
bool

true if the two lines have same styles, false otherwise.