Interface InputBallOptions

輸入球設定

interface InputBallOptions {
    color?: ColorLike;
    onCompleted?: ((event) => void);
    onInputting?: ((event) => void);
}

Hierarchy

Properties

color?: ColorLike

顏色。

Default Value

ov.Color("#FF0000")
onCompleted?: ((event) => void)

Type declaration

    • (event): void
    • 輸入完成的回呼函式。

      Parameters

      • event: {
            geo: {
                center: GeoPoint;
                radius: number;
            };
            success: boolean;
        }
        • geo: {
              center: GeoPoint;
              radius: number;
          }

          輸入完成幾何。

        • success: boolean

          是否成功。

      Returns void

onInputting?: ((event) => void)

Type declaration

    • (event): void
    • 輸入中的回呼函式。

      Parameters

      • event: {
            geo: {
                center: GeoPoint;
                radius: number;
            };
        }
        • geo: {
              center: GeoPoint;
              radius: number;
          }

          輸入中幾何。

      Returns void

Generated using TypeDoc