C# Class SubLib.Core.Domain.Style

Represents a text style, including Bold, Italic and Underline.
Inheritance: ICloneable
ファイルを表示 Open project: GNOME/gnome-subtitles Class Usage Examples

Public Methods

Method Description
Clone ( ) : object
Style ( ) : System

Initializes a new instance of the SubLib.Style class.

Style ( bool bold, bool italic, bool underline ) : System

Initializes a new instance of the Style class, given the specified style values.

ToString ( ) : string

Method Details

Clone() public method

public Clone ( ) : object
return object

Style() public method

Initializes a new instance of the SubLib.Style class.
public Style ( ) : System
return System

Style() public method

Initializes a new instance of the Style class, given the specified style values.
public Style ( bool bold, bool italic, bool underline ) : System
bold bool Whether the text is bold.
italic bool Whether the text is italic.
underline bool Whether the text is underlined.
return System

ToString() public method

public ToString ( ) : string
return string