ScalingCanvas.DrawString 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
DrawString(String, Single, Single, HorizontalAlignment) | |
DrawString(String, Single, Single, Single, Single, HorizontalAlignment, VerticalAlignment, TextFlow, Single) |
DrawString(String, Single, Single, HorizontalAlignment)
public:
virtual void DrawString(System::String ^ value, float x, float y, Microsoft::Maui::Graphics::HorizontalAlignment horizontalAlignment);
public void DrawString (string value, float x, float y, Microsoft.Maui.Graphics.HorizontalAlignment horizontalAlignment);
abstract member DrawString : string * single * single * Microsoft.Maui.Graphics.HorizontalAlignment -> unit
override this.DrawString : string * single * single * Microsoft.Maui.Graphics.HorizontalAlignment -> unit
Public Sub DrawString (value As String, x As Single, y As Single, horizontalAlignment As HorizontalAlignment)
매개 변수
- value
- String
- x
- Single
- y
- Single
- horizontalAlignment
- HorizontalAlignment
구현
적용 대상
DrawString(String, Single, Single, Single, Single, HorizontalAlignment, VerticalAlignment, TextFlow, Single)
public void DrawString (string value, float x, float y, float width, float height, Microsoft.Maui.Graphics.HorizontalAlignment horizontalAlignment, Microsoft.Maui.Graphics.VerticalAlignment verticalAlignment, Microsoft.Maui.Graphics.TextFlow textFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, float lineSpacingAdjustment = 0);
abstract member DrawString : string * single * single * single * single * Microsoft.Maui.Graphics.HorizontalAlignment * Microsoft.Maui.Graphics.VerticalAlignment * Microsoft.Maui.Graphics.TextFlow * single -> unit
override this.DrawString : string * single * single * single * single * Microsoft.Maui.Graphics.HorizontalAlignment * Microsoft.Maui.Graphics.VerticalAlignment * Microsoft.Maui.Graphics.TextFlow * single -> unit
Public Sub DrawString (value As String, x As Single, y As Single, width As Single, height As Single, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, Optional textFlow As TextFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, Optional lineSpacingAdjustment As Single = 0)
매개 변수
- value
- String
- x
- Single
- y
- Single
- width
- Single
- height
- Single
- horizontalAlignment
- HorizontalAlignment
- verticalAlignment
- VerticalAlignment
- textFlow
- TextFlow
- lineSpacingAdjustment
- Single