다음을 통해 공유


FontStyle 생성자

정의

오버로드

FontStyle()

특정 가중치 및 기울여진 글꼴 스타일 만들기

FontStyle(Int32, FontSlant)

특정 가중치 및 기울여진 글꼴 스타일 만들기

FontStyle()

특정 가중치 및 기울여진 글꼴 스타일 만들기

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=29)]
public FontStyle();
특성

설명

에 대한 android.graphics.fonts.FontStyle.FontStyle(int, int)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상

FontStyle(Int32, FontSlant)

특정 가중치 및 기울여진 글꼴 스타일 만들기

[Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=29)]
public FontStyle(int weight, Android.Graphics.Fonts.FontSlant slant);
[<Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=29)>]
new Android.Graphics.Fonts.FontStyle : int * Android.Graphics.Fonts.FontSlant -> Android.Graphics.Fonts.FontStyle

매개 변수

weight
Int32

가중치 값

slant
FontSlant

기울기 값

특성

설명

특정 가중치 및 기울여진 글꼴 스타일 만들기

<table>thead><tr><th align="center">Value</th th<>align="center">Name</th th><align="center">Android Definition</th></tr></thead<>tbody><tr<>td align="center">100</td td<>align="center">Thin</td td<>align="center">FontStyle#FONT_WEIGHT_THIN</td></tr tr tr><td<>align="center"< 200/td td><align="center">Extra Light (Ultra Light)</td td<>align="center"<>FontStyle#FONT_WEIGHT_EXTRA_LIGHT/td></tr tr tr<>><td align="center">300</td td><align="center">Light</td td<>align="center">FontStyle#FONT_WEIGHT_LIGHT</td></tr tr><><td align="center">400</td td<>align="center">Normal (Regular)</td<><>td align="center">FontStyle#FONT_WEIGHT_NORMAL</td></tr tr>><<td align="center">500</td td<>align="center">Medium</td td<>align="center"FontStyle#FONT_WEIGHT_MEDIUM<>/td<>/tr tr tr><<>td align="center">600</td td><align="center"Semi Bold> (Demi Bold)</td td<>align="center">FontStyle#FONT_WEIGHT_SEMI_BOLD</td></tr><tr td align="center">700</td td><align="center">Bold</td td<>align="center"FontStyle#FONT_WEIGHT_BOLD></td<>/tr tr tr>><<td align="center">800</td td<>align="center">Extra Bold (Ultra Bold)</td td><align="center"><FontStyle#FONT_WEIGHT_EXTRA_BOLD/td></tr><tr><td align="center">900</td><><td align="center">Black (Heavy)</td td<>align="center">FontStyle#FONT_WEIGHT_BLACK</td></tr></tbody>

에 대한 android.graphics.fonts.FontStyle.FontStyle(int, int)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상