PilotGaea 2D O'view
    正在準備搜尋索引...

    類別 RegularShape

    Set regular shape style for vector features. The resulting shape will be a regular polygon when radius is provided, or a star when radius1 and radius2 are provided.

    Options.

    層級 (查看層級一覽)

    索引

    方法

    • 回傳 number[]

    • Get the angle used in generating the shape.

      回傳 number

      Shape's rotation in radians.

    • Get the fill style for the shape.

      回傳 Fill

      Fill style.

    • 參數

      • pixelRatio: number

      回傳 HTMLCanvasElement | ol.style.Image | HTMLVideoElement

    • 回傳 number[]

    • Get the number of points for generating the shape.

      回傳 number

      Number of points for stars and regular polygons.

    • Get the (primary) radius for the shape.

      回傳 number

      Radius.

    • Get the secondary radius for the shape.

      回傳 number

      Radius2.

    • 回傳 Size

    • Get the stroke style for the shape.

      回傳 Stroke

      Stroke style.

    • Get the symbolizer opacity.

      回傳 number

      Opacity.

    • Determine whether the symbolizer rotates with the map.

      回傳 boolean

      Rotate with map.

    • Get the symoblizer rotation.

      回傳 number

      Rotation.

    • Get the symbolizer scale.

      回傳 number

      Scale.

    • Determine whether the symbolizer should be snapped to a pixel.

      回傳 boolean

      The symbolizer should snap to a pixel.

    • Set the opacity.

      參數

      • opacity: number

        Opacity.

      回傳 void

    • Set the rotation.

      參數

      • rotation: number

        Rotation.

      回傳 void

    • Set the scale.

      參數

      • scale: number

        Scale.

      回傳 void

    構造函數