연구 설문조사: Blockly 사용 경험을 알려주세요
설문조사 시작
차단 > 아이콘 > MutatorIcon > 체중
icon.MutatorIcon.WEIGHT 속성
다른 아이콘과 비교하여 이 아이콘의 두께입니다. 양수의 가중치 값을 갖는 아이콘은 블록의 끝에 가까울수록 렌더링됩니다.
서명:
static readonly WEIGHT = 1;
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-12(UTC)
[null,null,["최종 업데이트: 2024-09-12(UTC)"],[[["`MutatorIcon.WEIGHT` is a static read-only property that determines the rendering order of icons within a block."],["Icons with higher `WEIGHT` values are positioned towards the end of the block, allowing prioritization and visual organization."],["The default `WEIGHT` value for `MutatorIcon` is set to `1`, indicating a moderate priority level."]]],["The `WEIGHT` property within the `MutatorIcon` class determines an icon's rendering position relative to other icons on a block. A higher positive `WEIGHT` value places the icon closer to the block's end. Specifically, the `MutatorIcon.WEIGHT` is a static, read-only property with a value of `1`. This means that, by default, mutator icons will have a weight of 1.\n"]]