|
|
@ -25,6 +25,8 @@ namespace Perspex.Media |
|
|
this.FontFamilyName = fontFamilyName; |
|
|
this.FontFamilyName = fontFamilyName; |
|
|
this.FontSize = fontSize; |
|
|
this.FontSize = fontSize; |
|
|
this.FontStyle = fontStyle; |
|
|
this.FontStyle = fontStyle; |
|
|
|
|
|
this.FontWeight = fontWeight; |
|
|
|
|
|
this.TextAlignment = textAlignment; |
|
|
|
|
|
|
|
|
var platform = Locator.Current.GetService<IPlatformRenderInterface>(); |
|
|
var platform = Locator.Current.GetService<IPlatformRenderInterface>(); |
|
|
|
|
|
|
|
|
@ -61,6 +63,12 @@ namespace Perspex.Media |
|
|
private set; |
|
|
private set; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public FontWeight FontWeight |
|
|
|
|
|
{ |
|
|
|
|
|
get; |
|
|
|
|
|
private set; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public string Text |
|
|
public string Text |
|
|
{ |
|
|
{ |
|
|
get; |
|
|
get; |
|
|
@ -73,6 +81,12 @@ namespace Perspex.Media |
|
|
private set; |
|
|
private set; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public TextAlignment TextAlignment |
|
|
|
|
|
{ |
|
|
|
|
|
get; |
|
|
|
|
|
private set; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public void Dispose() |
|
|
public void Dispose() |
|
|
{ |
|
|
{ |
|
|
this.PlatformImpl.Dispose(); |
|
|
this.PlatformImpl.Dispose(); |
|
|
|