語言

FontVariationAxis(String, Single) 建構函式

定義

構造字型變體軸。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;F)V", "", ApiSince=26)]
public FontVariationAxis(string tagString, float styleValue);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;F)V", "", ApiSince=26)>]
new Android.Graphics.Fonts.FontVariationAxis : string * single -> Android.Graphics.Fonts.FontVariationAxis

參數

tagString
String
styleValue
Single
屬性

備註

構造字型變體軸。

軸標籤必須包含四個 ASCII 字元。 標籤字串若長度超過四個字元,或包含不在 U+0020..U+007E 以外的字元,則無效。

Java 文件 android.graphics.fonts.FontVariationAxis.FontVariationAxis(java.lang.String, float)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於