Inheritance
System.Object
ParagraphStyle
public class ParagraphStyle : IEquatable<ParagraphStyle>
Constructors
ParagraphStyle(Nullable<TextAlign>, Nullable<TextDirection>, FontWeight, Nullable<FontStyle>, Nullable<Int32>, Nullable<Single>, String, Nullable<Single>, String)
Declaration
public ParagraphStyle(TextAlign? textAlign = default(TextAlign? ), TextDirection? textDirection = default(TextDirection? ), FontWeight fontWeight = null, FontStyle? fontStyle = default(FontStyle? ), int? maxLines = default(int? ), float? fontSize = default(float? ), string fontFamily = null, float? lineHeight = default(float? ), string ellipsis = null)
Parameters
Type |
Name |
Description |
System.Nullable<TextAlign> |
textAlign |
|
System.Nullable<TextDirection> |
textDirection |
|
FontWeight |
fontWeight |
|
System.Nullable<FontStyle> |
fontStyle |
|
System.Nullable<System.Int32> |
maxLines |
|
System.Nullable<System.Single> |
fontSize |
|
System.String |
fontFamily |
|
System.Nullable<System.Single> |
lineHeight |
|
System.String |
ellipsis |
|
Fields
Declaration
public readonly string ellipsis
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly string fontFamily
Field Value
Type |
Description |
System.String |
|
Declaration
public readonly float? fontSize
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly FontStyle? fontStyle
Field Value
Declaration
public readonly FontWeight fontWeight
Field Value
Declaration
public readonly float? lineHeight
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly int? maxLines
Field Value
Type |
Description |
System.Nullable<System.Int32> |
|
textAlign
Declaration
public readonly TextAlign? textAlign
Field Value
textDirection
Declaration
public readonly TextDirection? textDirection
Field Value
Properties
TextAlign
Declaration
public TextAlign TextAlign { get; }
Property Value
Methods
Declaration
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public bool Equals(ParagraphStyle other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Operators
Declaration
public static bool operator ==(ParagraphStyle a, ParagraphStyle b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(ParagraphStyle a, ParagraphStyle b)
Parameters
Returns
Type |
Description |
System.Boolean |
|