|
|
@ -42,9 +42,10 @@ namespace Perspex.Direct2D1 |
|
|
string fontFamily, |
|
|
string fontFamily, |
|
|
double fontSize, |
|
|
double fontSize, |
|
|
FontStyle fontStyle, |
|
|
FontStyle fontStyle, |
|
|
|
|
|
TextAlignment textAlignment, |
|
|
FontWeight fontWeight) |
|
|
FontWeight fontWeight) |
|
|
{ |
|
|
{ |
|
|
return new FormattedTextImpl(text, fontFamily, fontSize, fontStyle, fontWeight); |
|
|
return new FormattedTextImpl(text, fontFamily, fontSize, fontStyle, textAlignment, fontWeight); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public IRenderer CreateRenderer(IPlatformHandle handle, double width, double height) |
|
|
public IRenderer CreateRenderer(IPlatformHandle handle, double width, double height) |
|
|
|