enum

ContributorMural::Ink

Inherits Enum < Comparable < Value < Object

What in a silhouette's image counts as the shape.

Constants

Auto = 0

alpha for an image with a transparent background, otherwise dark or light — whichever is not the colour of the image's own border.

Alpha = 1

Anything opaque, whatever its colour: a logo cut out of a transparent PNG.

Dark = 2

Dark on light: a black logo on a white JPEG.

Light = 3

Light on dark: a white logo on a black background.

Instance methods

alpha?

Returns true if this enum value equals Alpha

Source
auto?

Returns true if this enum value equals Auto

Source
dark?

Returns true if this enum value equals Dark

Source
light?

Returns true if this enum value equals Light

Source