react-native-mobilex 开发文档
    Preparing search index...

    Interface WallLine

    围墙线

    interface WallLine {
        cellWidth?: number;
        color?: string;
        expectedWidth?: number;
        patternType: "wall";
        strokeWidth?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    cellWidth?: number

    围墙单元宽度,单位像素;默认值:5。

    color?: string

    前景色;默认值:蓝色。

    expectedWidth?: number

    期望的线宽,单位像素;默认值:8,某些线型宽度相差过大会导致严重变形。

    patternType: "wall"

    围墙线类型

    strokeWidth?: number

    描边宽度,默认值:cellWidth * 0.2。