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

    Interface ContourLine

    轮廓线

    interface ContourLine {
        color?: string;
        expectedWidth?: number;
        outlineColor?: string;
        outlineRatio?: number;
        patternType: "contour";
    }

    Hierarchy (View Summary)

    Index

    Properties

    color?: string

    中间填充颜色;默认值:透明。

    expectedWidth?: number

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

    outlineColor?: string

    轮廓颜色;默认值:蓝色。

    outlineRatio?: number

    轮廓占整体线宽的比例,取值范围 (0, 1);默认值:0.5。

    patternType: "contour"

    轮廓线类型