@vcmap/core
    Preparing search index...

    Class ModelFill

    Hierarchy

    • Fill
      • ModelFill
    Index

    Constructors

    • Parameters

      • Optionaloptions: Options

        Options.

      Returns ModelFill

    Methods

    • Clones the style. The color is not cloned if it is a module:ol/colorlike~ColorLike.

      Returns Fill

      The cloned style.

    • Get the fill color.

      Returns Color | ColorLike | PatternDescriptor | null

      Color.

    • Returns string

      Key of the fill for cache lookup.

    • Returns boolean

      The fill style is loading an image pattern.

    • Returns Promise<void>

      false or a promise that resolves when the style is ready to use.

    • Set the color.

      Parameters

      • color: Color | ColorLike | PatternDescriptor | null

        Color.

      Returns void

    Properties

    fallBackColor: Color | ColorLike