컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
차단 > blockRendering > ConstantProvider > shapeFor
블록 렌더링.ConstantProvider.shapeFor() 메서드
연결 유형에 따라 연결 도형 및 크기 조정 정보가 포함된 객체를 가져옵니다.
서명:
shapeFor(connection: RenderedConnection): Shape;
매개변수
매개변수 |
유형 |
설명 |
연결 |
RenderedConnection |
도형 객체를 찾기 위한 연결 |
반환:
도형
연결의 도형 객체입니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-28(UTC)
[null,null,["최종 업데이트: 2025-07-28(UTC)"],[],["The `shapeFor()` method, part of `blockRendering.ConstantProvider`, retrieves shape and sizing data for a given connection. It accepts a `RenderedConnection` as input and returns a `Shape` object. This `Shape` object contains details about the connection's appearance, determined by its type. The method's primary action is mapping a connection to its corresponding visual representation, facilitating block rendering.\n"],null,[]]