Paint.VerticalTextFlag フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This constant will be removed in the future version. Use Android.Graphics.PaintFlags enum directly instead of this field.
垂直方向に書き込むテキストを制御するフラット
[Android.Runtime.Register("VERTICAL_TEXT_FLAG", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.PaintFlags enum directly instead of this field.", true)]
public const Android.Graphics.PaintFlags VerticalTextFlag = 4096;
[<Android.Runtime.Register("VERTICAL_TEXT_FLAG", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.PaintFlags enum directly instead of this field.", true)>]
val mutable VerticalTextFlag : Android.Graphics.PaintFlags
フィールド値
Value = 4096- 属性
注釈
垂直方向に書き込むテキストを制御するフラット
このフラグは、テキストが垂直方向であることを基になるテキスト レイアウト エンジンに伝える場合に使用されます。 このフラグを有効にすると、テキストの測定、描画、および整形 API が垂直方向のテキスト レイアウトに対して機能します。 たとえば、 Canvas#drawText(String, float, float, Paint) 上から下にテキストを描画します。
Paint#measureText(String) は、水平方向の進みではなく垂直方向の進み方を返します。
TextRunShaper はテキストを垂直方向に図形化し、垂直レイアウト用のグリフ ID をレポートします。
android.text.Layoutを作成する場合は、このフラグを設定しないでください。
android.text.Layout クラスとそのサブクラスは、水平テキスト専用に設計されており、垂直テキストでは機能しません。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。