Paint.FontMetricsInt.Set 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
| Name | Description |
|---|---|
| Set(Paint+FontMetrics) |
Set values from FontMetrics with rounding accordingly. |
| Set(Paint+FontMetricsInt) |
Set values from FontMetricsInt. |
Set(Paint+FontMetrics)
Set values from FontMetrics with rounding accordingly.
[Android.Runtime.Register("set", "(Landroid/graphics/Paint$FontMetrics;)V", "GetSet_Landroid_graphics_Paint_FontMetrics_Handler", ApiSince=35)]
public virtual void Set(Android.Graphics.Paint.FontMetrics fontMetrics);
[<Android.Runtime.Register("set", "(Landroid/graphics/Paint$FontMetrics;)V", "GetSet_Landroid_graphics_Paint_FontMetrics_Handler", ApiSince=35)>]
abstract member Set : Android.Graphics.Paint.FontMetrics -> unit
override this.Set : Android.Graphics.Paint.FontMetrics -> unit
Parameters
- fontMetrics
- Paint.FontMetrics
a font metrics. This value cannot be null.
- Attributes
Remarks
Set values from FontMetrics with rounding accordingly.
Android reference for android.graphics.Paint.FontMetricsInt.set.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Set(Paint+FontMetricsInt)
Set values from FontMetricsInt.
[Android.Runtime.Register("set", "(Landroid/graphics/Paint$FontMetricsInt;)V", "GetSet_Landroid_graphics_Paint_FontMetricsInt_Handler", ApiSince=35)]
public virtual void Set(Android.Graphics.Paint.FontMetricsInt fontMetricsInt);
[<Android.Runtime.Register("set", "(Landroid/graphics/Paint$FontMetricsInt;)V", "GetSet_Landroid_graphics_Paint_FontMetricsInt_Handler", ApiSince=35)>]
abstract member Set : Android.Graphics.Paint.FontMetricsInt -> unit
override this.Set : Android.Graphics.Paint.FontMetricsInt -> unit
Parameters
- fontMetricsInt
- Paint.FontMetricsInt
a font metrics. This value cannot be null.
- Attributes
Remarks
Set values from FontMetricsInt.
Android reference for android.graphics.Paint.FontMetricsInt.set.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.