blockly > blockRendering > DynamicShape
نوع blockRendering.DynamicShape
یک شی حاوی اطلاعات اندازه و نوع در مورد یک شکل پویا.
امضا:
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;
};