Class (GI Struct)

Shumate-1.0ShumateVectorValueSince 1.6

A mutable value used in the vector style specification.

1.6

Index
  • Gets the boolean value of self.

    Returns [boolean, boolean]

    true if self is a boolean value and boolean was set, false otherwise

    1.6

  • Gets the color value of self.

    If self is a string value, it will attempt to parse the string as a color.

    Returns [boolean, Gdk.RGBA]

    true if self is a color value and color was set, false otherwise

    1.6

  • Gets the number value of self.

    Returns [boolean, number]

    true if self is a number value and number was set, false otherwise

    1.6

  • Gets the string value of self.

    Returns [boolean, string]

    true if self is a string value and string was set, false otherwise

    1.6

  • Checks if self is a null value.

    Returns boolean

    true if self is a null value, false otherwise

    1.6

  • Sets self to a boolean value.

    Parameters

    • _boolean: boolean

      a boolean value

    Returns void

    1.6

  • Sets self to a number value.

    Parameters

    • number: number

      a number value

    Returns void

    1.6

  • Sets self to a string value.

    Parameters

    • string: string

      a string value

    Returns void

    1.6