interface IListLayout {
    get align(): AlignType;
    set align(value: AlignType): void;
    get columnGap(): number;
    set columnGap(value: number): void;
    get columns(): number;
    set columns(value: number): void;
    get contentHeight(): number;
    set contentHeight(value: number): void;
    get contentWidth(): number;
    set contentWidth(value: number): void;
    get foldInvisibles(): boolean;
    set foldInvisibles(value: boolean): void;
    get itemSize(): Point;
    set itemSize(value: Point): void;
    get minChildSize(): number;
    set minChildSize(value: number): void;
    get numItems(): number;
    set numItems(value: number): void;
    get padding(): number[];
    set padding(value: number[]): void;
    get pageMode(): PageMode;
    set pageMode(value: PageMode): void;
    get rowGap(): number;
    set rowGap(value: number): void;
    get rows(): number;
    set rows(value: number): void;
    get stretchParamsX(): StretchParam[];
    get stretchParamsY(): StretchParam[];
    get stretchX(): StretchMode;
    set stretchX(value: StretchMode): void;
    get stretchY(): StretchMode;
    set stretchY(value: StretchMode): void;
    get type(): LayoutType;
    set type(value: LayoutType): void;
    get valign(): VAlignType;
    set valign(value: VAlignType): void;
    get viewHeight(): number;
    set viewHeight(value: number): void;
    get viewWidth(): number;
    set viewWidth(value: number): void;
    childIndexToItemIndex(index: number): number;
    getRectByItemIndex(index: number): Rectangle;
    getSnappingPosition(
        xValue: number,
        yValue: number,
        xDir: number,
        yDir: number,
        resultPoint?: Point,
    ): Point;
    itemIndexToChildIndex(index: number): number;
    refresh(force?: boolean): void;
    refreshVirtualList(): void;
    resizeToFit(childCount?: number, minSize?: number): void;
    setChangedFlag(reason?: LayoutChangedReason): void;
}

层级 (查看层级一览)

访问器

方法