SkiaCanvas.DrawString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DrawString(String, Single, Single, Single, Single, HorizontalAlignment, VerticalAlignment, TextFlow, Single) | |
DrawString(String, Single, Single, HorizontalAlignment) |
DrawString(String, Single, Single, Single, Single, HorizontalAlignment, VerticalAlignment, TextFlow, Single)
- Source:
- SkiaCanvas.cs
- Source:
- SkiaCanvas.cs
public override void DrawString (string value, float x, float y, float width, float height, Microsoft.Maui.Graphics.HorizontalAlignment horizAlignment, Microsoft.Maui.Graphics.VerticalAlignment vertAlignment, Microsoft.Maui.Graphics.TextFlow textFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, float lineSpacingAdjustment = 0);
override this.DrawString : string * single * single * single * single * Microsoft.Maui.Graphics.HorizontalAlignment * Microsoft.Maui.Graphics.VerticalAlignment * Microsoft.Maui.Graphics.TextFlow * single -> unit
Public Overrides Sub DrawString (value As String, x As Single, y As Single, width As Single, height As Single, horizAlignment As HorizontalAlignment, vertAlignment As VerticalAlignment, Optional textFlow As TextFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, Optional lineSpacingAdjustment As Single = 0)
Parameters
- value
- String
- x
- Single
- y
- Single
- width
- Single
- height
- Single
- horizAlignment
- HorizontalAlignment
- vertAlignment
- VerticalAlignment
- textFlow
- TextFlow
- lineSpacingAdjustment
- Single
Applies to
DrawString(String, Single, Single, HorizontalAlignment)
- Source:
- SkiaCanvas.cs
- Source:
- SkiaCanvas.cs
public:
override void DrawString(System::String ^ value, float x, float y, Microsoft::Maui::Graphics::HorizontalAlignment horizAlignment);
public override void DrawString (string value, float x, float y, Microsoft.Maui.Graphics.HorizontalAlignment horizAlignment);
override this.DrawString : string * single * single * Microsoft.Maui.Graphics.HorizontalAlignment -> unit
Public Overrides Sub DrawString (value As String, x As Single, y As Single, horizAlignment As HorizontalAlignment)
Parameters
- value
- String
- x
- Single
- y
- Single
- horizAlignment
- HorizontalAlignment
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI