SkColor4f Reference

Color4f

Struct SkColor4f

The float values are 0…1 unpremultiplied

Overview

Overview Subtopic

name description
Member Function static functions and member methods
Member member values
Operator operator overloading methods

Operator

name description
operator!=(const SkColor4f& other) const incomplete
operator==(const SkColor4f& other) const incomplete

Member Function

name description
FromColor incomplete
Pin incomplete
pin incomplete
premul incomplete
toSkColor incomplete
vec incomplete

float fR

float fG

float fB

float fA

operator==

bool operator==(const SkColor4f& other) _const

Parameters

other incomplete

Return Value

incomplete

Example

See Also

incomplete


operator!=

bool operator!=(const SkColor4f& other) _const

Parameters

other incomplete

Return Value

incomplete

Example

See Also

incomplete


vec

const float* vec() const

Return Value

incomplete

Example

See Also

incomplete


float* vec()

Return Value

incomplete

Example

See Also

incomplete


Pin

static SkColor4f Pin(float r, float g, float b, float a)

Parameters

r incomplete
g incomplete
b incomplete
a incomplete

Return Value

incomplete

Example

See Also

incomplete


FromColor

static SkColor4f FromColor(SkColor)

Convert to SkColor4f, assuming SkColor is sRGB

Parameters

SkColor incomplete

Return Value

incomplete

Example

See Also

incomplete


toSkColor

SkColor toSkColor() const

Return Value

incomplete

Example

See Also

incomplete


pin

SkColor4f pin() const

Return Value

incomplete

Example

See Also

incomplete


premul

SkPM4f premul() const

Return Value

incomplete

Example

See Also

incomplete