enum

CSS::LinearGradientSide

Inherits Enum < Comparable < Value < Object

Enumerates allowed keyword directions for linear-gradient(). Names include the leading to_ so callers can pass symbols like :to_top_left.

Constants

ToTop = 0
ToBottom = 1
ToLeft = 2
ToRight = 3
ToTopLeft = 4
ToTopRight = 5
ToBottomLeft = 6
ToBottomRight = 7

Instance methods

to_bottom?

Returns true if this enum value equals ToBottom

Source
to_bottom_left?

Returns true if this enum value equals ToBottomLeft

Source
to_bottom_right?

Returns true if this enum value equals ToBottomRight

Source
to_css_value
Source
to_left?

Returns true if this enum value equals ToLeft

Source
to_right?

Returns true if this enum value equals ToRight

Source
to_top?

Returns true if this enum value equals ToTop

Source
to_top_left?

Returns true if this enum value equals ToTopLeft

Source
to_top_right?

Returns true if this enum value equals ToTopRight

Source