@new


Description:

public static unowned Attribute @new (uint underline_type, uint start_index, uint end_index)

Creates a new underline Attribute.

Parameters:

underline_type

Type of underline.

start_index

Where attribute starts.

end_index

Where attribute ends.

Returns:

A newly allocated Attribute.