연구 설문조사: Blockly 사용 경험을 알려주세요
설문조사 시작
차단 > 제라스 > ConstantProvider
geras.ConstantProvider 클래스
Geras 모드에서 블록을 렌더링하기 위한 상수를 제공하는 객체입니다.
서명:
export declare class ConstantProvider extends BaseConstantProvider
확장: BaseConstantProvider
생성자
생성자 |
수정자 |
설명 |
(생성자)() |
|
ConstantProvider 클래스의 새 인스턴스를 생성합니다. |
속성
메서드
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-08-24(UTC)
[null,null,["최종 업데이트: 2024-08-24(UTC)"],[[["The `geras.ConstantProvider` class provides constants for rendering blocks in Geras mode in Blockly, extending the `BaseConstantProvider` class."],["It includes properties like `DARK_PATH_OFFSET`, `FIELD_TEXT_BASELINE_CENTER`, `MAX_BOTTOM_WIDTH`, and `STATEMENT_BOTTOM_SPACER` for defining block appearance."],["A key feature is the `MAX_BOTTOM_WIDTH` property, which sets the maximum width of a bottom row following a statement input with inline inputs."],["The class offers a constructor for creating instances and a `getCSS_` method for potentially retrieving CSS styles related to the block rendering."]]],[]]