blockly > blockRendering > DynamicShape

block렌더링.DynamicShape 유형

동적 셰이프에 대한 크기 조정 및 유형 정보가 포함된 객체입니다.

Signature:

export type DynamicShape = {
    type: number;
    width: (p1: number) => number;
    height: (p1: number) => number;
    isDynamic: true;
    connectionOffsetY: (p1: number) => number;
    connectionOffsetX: (p1: number) => number;
    pathDown: (p1: number) => string;
    pathUp: (p1: number) => string;
    pathRightDown: (p1: number) => string;
    pathRightUp: (p1: number) => string;
};