BitmapFonts
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
사용자 정의 비트맵 글꼴의 컨테이너입니다.
Wear OS 4에서 도입되었습니다.
문법
<BitmapFonts>
<BitmapFont name="string">
<!-- Only the most common inner element is shown here. -->
<Character name="string" resource="string"
width="positive-integer" height="positive-integer" />
...
</BitmapFont>
</BitmapFonts>
내부 요소
BitmapFonts
요소는 하나 이상의 BitmapFont
내부 요소를 포함해야 합니다.
BitmapFont
특정 사용자 정의 비트맵 글꼴을 지정합니다.
속성
name
- 사용자 정의 글꼴 모음의 이름입니다.
내부 요소
BitmapFont
요소의 각 내부 요소는 Character
요소 또는 Word
요소여야 합니다. 이러한 내부 요소는 모두 다음과 같은 속성을 포함합니다.
name
- 문자 또는 단어 자체입니다.
resource
- 문자 또는 단어가 정의된 위치에 해당하는 리소스 ID입니다.
width
- 문자 또는 단어의 너비입니다(단위: 픽셀).
height
- 문자 또는 단어의 높이입니다(단위: 픽셀).
추천 항목
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-07-31(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]