Class HslaColor

Class HslaColor

名称: Aspose.BarCode.Generation 合計: Aspose.BarCode.dll (25.4.0)

HSLA色を表すクラス(Hue、Saturation、Lightness、Alpha)

public class HslaColor

Inheritance

object HslaColor

相続人

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

HslaColor(int、 int、 int、 float)

メーカー HslaColor

public HslaColor(int h, int s, int l, float a)

Parameters

h int

ハウス(0、360)

s int

土星(0、100)

l int

明るさ(0、100)

a float

アルファ(オパシティ) [0.0f, 1.0f]

Fields

A

アルファ(オパシティ) [0.0f, 1.0f]

public float A

フィールド価値

float

H

ハウス(0、360)

public readonly int H

フィールド価値

int

L

明るさ(0、100)

public readonly int L

フィールド価値

int

S

土星(0、100)

public readonly int S

フィールド価値

int

Methods

ConvertHslaToRgba(HslaColor)

使用する https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_RGB

public static Color ConvertHslaToRgba(HslaColor hslaColor)

Parameters

hslaColor HslaColor

HSLA 色を変換する

Returns

Color

RGBA値を含む色

 日本語