Skip to content

Commit

Permalink
Update content 2024-05-31 06:03:38
Browse files Browse the repository at this point in the history
  • Loading branch information
yevgen-nykytenko committed May 31, 2024
1 parent 1d1e050 commit d85ba75
Show file tree
Hide file tree
Showing 123 changed files with 540 additions and 194 deletions.
2 changes: 1 addition & 1 deletion english/net/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight: 10
url: /net/
description: GroupDocs.Viewer for .NET API References contain examples, code snippets, and API documentation. It provides namespaces, classes, interfaces, and other API details.
is_root: true
version: "24.4"
version: "24.5"
---
## Namespaces

Expand Down
15 changes: 8 additions & 7 deletions english/net/groupdocs.viewer.drawing/argb32color/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ url: /net/groupdocs.viewer.drawing/argb32color/
Represents 32-bit color in ARGB format, with 8 bits per every channel (Alpha, Red, Green, Blue). Supports transparency.

```csharp
public struct Argb32Color : IEquatable<Argb32Color>
public struct Argb32Color : IEquatable<>, IEquatable<Argb32Color>, IEquatable<Rgb24Color>
```

## Properties
Expand All @@ -22,8 +22,7 @@ public struct Argb32Color : IEquatable<Argb32Color>
| [Alpha](../../groupdocs.viewer.drawing/argb32color/alpha) { get; } | Gets the alpha part of the color in percent in (0..1) range. |
| [B](../../groupdocs.viewer.drawing/argb32color/b) { get; } | Gets the blue part of the color as 8-bit unsigned integer [0..255] |
| [G](../../groupdocs.viewer.drawing/argb32color/g) { get; } | Gets the green part of the color as 8-bit unsigned integer [0..255] |
| [IsDefault](../../groupdocs.viewer.drawing/argb32color/isdefault) { get; } | Indicates whether this [`Argb32Color`](../argb32color) instance is default (Transparent) - all 4 channels are set to 0. Same as [`IsEmpty`](./isempty) |
| [IsEmpty](../../groupdocs.viewer.drawing/argb32color/isempty) { get; } | Indicates whether this [`Argb32Color`](../argb32color) color instance is uninitialized - all 4 channels are set to 0. Same as Default and Transparent. Same as [`IsDefault`](./isdefault) |
| [IsEmpty](../../groupdocs.viewer.drawing/argb32color/isempty) { get; } | Indicates whether this [`Argb32Color`](../argb32color) color instance is uninitialized - all 4 channels are set to 0. Same as Default and Transparent. Same as IsDefault |
| [IsFullyOpaque](../../groupdocs.viewer.drawing/argb32color/isfullyopaque) { get; } | Indicates whether this [`Argb32Color`](../argb32color) instance is fully opaque, without transparency (its Alpha channel has max value) |
| [IsFullyTransparent](../../groupdocs.viewer.drawing/argb32color/isfullytransparent) { get; } | Indicates whether this [`Argb32Color`](../argb32color) instance is fully transparent - its Alpha channel has the min (0) value, so other R, G, and B channels has no visible effect. |
| [IsTranslucent](../../groupdocs.viewer.drawing/argb32color/istranslucent) { get; } | Indicates whether this [`Argb32Color`](../argb32color) instance is translucent (not fully transparent, but also not fully opaque) |
Expand All @@ -39,8 +38,9 @@ public struct Argb32Color : IEquatable<Argb32Color>
| static [FromRgb](../../groupdocs.viewer.drawing/argb32color/fromrgb)(bytebytebyte) | Creates one [`Argb32Color`](../argb32color) value from specified Red, Green, Blue channels, while Alpha channel is fully opaque |
| static [FromRgba](../../groupdocs.viewer.drawing/argb32color/fromrgba)(bytebytebytebyte) | Creates one [`Argb32Color`](../argb32color) value from specified Red, Green, Blue, and Alpha channels |
| static [FromSingleValueRgb](../../groupdocs.viewer.drawing/argb32color/fromsinglevaluergb)(byte) | Creates a fully opaque (A=255) color from single value, which will be applied to all channels |
| [Equals](../../groupdocs.viewer.drawing/argb32color/equals#equals)(Argb32Color) | Checks two [`Argb32Color`](../argb32color) colors for equality |
| override [Equals](../../groupdocs.viewer.drawing/argb32color/equals#equals_1)(object) | Tests if another object is equal to this [`Argb32Color`](../argb32color) instance. |
| [Equals](../../groupdocs.viewer.drawing/argb32color/equals#equals)(Argb32Color) | Checks this color with specified [`Argb32Color`](../argb32color) color for equality |
| override [Equals](../../groupdocs.viewer.drawing/argb32color/equals#equals_2)(object) | Tests if another object is equal to this [`Argb32Color`](../argb32color) instance. |
| [Equals](../../groupdocs.viewer.drawing/argb32color/equals#equals_1)(Rgb24Color) | Checks this color with specified [`Rgb24Color`](../rgb24color) color for equality |
| [GetBrightness](../../groupdocs.viewer.drawing/argb32color/getbrightness)() | Returns the Hue-Saturation-Lightness (HSL) lightness/brightness for this [`Argb32Color`](../argb32color) instance. |
| override [GetHashCode](../../groupdocs.viewer.drawing/argb32color/gethashcode)() | Returns a hash code that defines the current color. Not compatible with GetHashCode |
| [GetHue](../../groupdocs.viewer.drawing/argb32color/gethue)() | Returns the Hue-Saturation-Lightness (HSL) hue value, in degrees, for this [`Argb32Color`](../argb32color) instance. If R == G == B, the hue is meaningless, and the return value is 0. |
Expand All @@ -49,10 +49,10 @@ public struct Argb32Color : IEquatable<Argb32Color>
| [ToRGB](../../groupdocs.viewer.drawing/argb32color/torgb)() | Serializes this [`Argb32Color`](../argb32color) instance to the 'rgb' CSS function notation. Alpha channel of this color will be omitted during serialization. |
| [ToRGBA](../../groupdocs.viewer.drawing/argb32color/torgba)() | Serializes this [`Argb32Color`](../argb32color) instance to the 'rgba' CSS function notation |
| override [ToString](../../groupdocs.viewer.drawing/argb32color/tostring)() | Serializes this [`Argb32Color`](../argb32color) instance to the most appropriate CSS function notation depending on translucency |
| [operator ==](../../groupdocs.viewer.drawing/argb32color/op_equality) | Compares two colors and returns a boolean indicating if the two do match. |
| [operator ==](../../groupdocs.viewer.drawing/argb32color/op_equality#op_equality) | Compares two [`Argb32Color`](../argb32color) colors and returns a boolean indicating if the two do match. (2 operators) |
| [explicit operator](../../groupdocs.viewer.drawing/argb32color/op_explicit) | Explicitly casts the 32-bit [`Argb32Color`](../argb32color) to 24-bit [`Rgb24Color`](../rgb24color). Alpha channel of the source [`Argb32Color`](../argb32color) will be lost after casting, because [`Rgb24Color`](../rgb24color) does not support transparency. |
| [implicit operator](../../groupdocs.viewer.drawing/argb32color/op_implicit) | Implicitly casts the 24-bit [`Rgb24Color`](../rgb24color) to 32-bit [`Argb32Color`](../argb32color). Alpha channel of the output [`Argb32Color`](../argb32color) will be set to `255` - fully opaque. |
| [operator !=](../../groupdocs.viewer.drawing/argb32color/op_inequality) | Compares two colors and returns a boolean indicating if the two do not match. |
| [operator !=](../../groupdocs.viewer.drawing/argb32color/op_inequality#op_inequality) | Compares two [`Argb32Color`](../argb32color) colors and returns a boolean indicating if the two do not match. (2 operators) |

## Fields

Expand All @@ -67,6 +67,7 @@ This type is designed to be useful for (but not limited to) CSS operations. See
### See Also

* struct [Rgb24Color](../rgb24color)
* namespace [GroupDocs.Viewer.Drawing](../../groupdocs.viewer.drawing)
* assembly [GroupDocs.Viewer](../../)

Expand Down
33 changes: 29 additions & 4 deletions english/net/groupdocs.viewer.drawing/argb32color/equals/_index.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: Equals
second_title: GroupDocs.Viewer for .NET API Reference
description: Checks two Argb32Colorgroupdocs.viewer.drawing/argb32color colors for equality
description: Checks this color with specified Argb32Colorgroupdocs.viewer.drawing/argb32color color for equality
type: docs
weight: 180
weight: 170
url: /net/groupdocs.viewer.drawing/argb32color/equals/
---
## Equals(Argb32Color) {#equals}

Checks two [`Argb32Color`](../../argb32color) colors for equality
Checks this color with specified [`Argb32Color`](../../argb32color) color for equality

```csharp
public bool Equals(Argb32Color other)
Expand All @@ -30,7 +30,32 @@ True if both colors or equal, otherwise false.

---

## Equals(object) {#equals_1}
## Equals(Rgb24Color) {#equals_1}

Checks this color with specified [`Rgb24Color`](../../rgb24color) color for equality

```csharp
public bool Equals(Rgb24Color other)
```

| Parameter | Type | Description |
| --- | --- | --- |
| other | Rgb24Color | The other [`Rgb24Color`](../../rgb24color) color |

### Return Value

True if both colors or equal, otherwise false.

### See Also

* struct [Rgb24Color](../../rgb24color)
* struct [Argb32Color](../../argb32color)
* namespace [GroupDocs.Viewer.Drawing](../../../groupdocs.viewer.drawing)
* assembly [GroupDocs.Viewer](../../../)

---

## Equals(object) {#equals_2}

Tests if another object is equal to this [`Argb32Color`](../../argb32color) instance.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: GetBrightness
second_title: GroupDocs.Viewer for .NET API Reference
description: Returns the HueSaturationLightness HSL lightness/brightness for this Argb32Colorgroupdocs.viewer.drawing/argb32color instance.
type: docs
weight: 190
weight: 180
url: /net/groupdocs.viewer.drawing/argb32color/getbrightness/
---
## Argb32Color.GetBrightness method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: GetHashCode
second_title: GroupDocs.Viewer for .NET API Reference
description: Returns a hash code that defines the current color. Not compatible with GetHashCode
type: docs
weight: 200
weight: 190
url: /net/groupdocs.viewer.drawing/argb32color/gethashcode/
---
## Argb32Color.GetHashCode method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: GetHue
second_title: GroupDocs.Viewer for .NET API Reference
description: Returns the HueSaturationLightness HSL hue value in degrees for this Argb32Colorgroupdocs.viewer.drawing/argb32color instance. If R G B the hue is meaningless and the return value is 0.
type: docs
weight: 210
weight: 200
url: /net/groupdocs.viewer.drawing/argb32color/gethue/
---
## Argb32Color.GetHue method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: GetSaturation
second_title: GroupDocs.Viewer for .NET API Reference
description: The HueSaturationLightness HSL saturation for this Argb32Colorgroupdocs.viewer.drawing/argb32color instance
type: docs
weight: 220
weight: 210
url: /net/groupdocs.viewer.drawing/argb32color/getsaturation/
---
## Argb32Color.GetSaturation method
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
title: IsEmpty
second_title: GroupDocs.Viewer for .NET API Reference
description: Indicates whether this Argb32Colorgroupdocs.viewer.drawing/argb32color color instance is uninitialized all 4 channels are set to 0. Same as Default and Transparent. Same as IsDefaultgroupdocs.viewer.drawing/argb32color/isdefault
description: Indicates whether this Argb32Colorgroupdocs.viewer.drawing/argb32color color instance is uninitialized all 4 channels are set to 0. Same as Default and Transparent. Same as IsDefault
type: docs
weight: 120
weight: 110
url: /net/groupdocs.viewer.drawing/argb32color/isempty/
---
## Argb32Color.IsEmpty property

Indicates whether this [`Argb32Color`](../../argb32color) color instance is uninitialized - all 4 channels are set to 0. Same as Default and Transparent. Same as [`IsDefault`](../isdefault)
Indicates whether this [`Argb32Color`](../../argb32color) color instance is uninitialized - all 4 channels are set to 0. Same as Default and Transparent. Same as IsDefault

```csharp
public bool IsEmpty { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: IsFullyOpaque
second_title: GroupDocs.Viewer for .NET API Reference
description: Indicates whether this Argb32Colorgroupdocs.viewer.drawing/argb32color instance is fully opaque without transparency its Alpha channel has max value
type: docs
weight: 130
weight: 120
url: /net/groupdocs.viewer.drawing/argb32color/isfullyopaque/
---
## Argb32Color.IsFullyOpaque property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: IsFullyTransparent
second_title: GroupDocs.Viewer for .NET API Reference
description: Indicates whether this Argb32Colorgroupdocs.viewer.drawing/argb32color instance is fully transparent its Alpha channel has the min 0 value so other R G and B channels has no visible effect.
type: docs
weight: 140
weight: 130
url: /net/groupdocs.viewer.drawing/argb32color/isfullytransparent/
---
## Argb32Color.IsFullyTransparent property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: IsTranslucent
second_title: GroupDocs.Viewer for .NET API Reference
description: Indicates whether this Argb32Colorgroupdocs.viewer.drawing/argb32color instance is translucent not fully transparent but also not fully opaque
type: docs
weight: 150
weight: 140
url: /net/groupdocs.viewer.drawing/argb32color/istranslucent/
---
## Argb32Color.IsTranslucent property
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
---
title: op_Equality
second_title: GroupDocs.Viewer for .NET API Reference
description: Compares two colors and returns a boolean indicating if the two do match.
description: Compares two Argb32Colorgroupdocs.viewer.drawing/argb32color colors and returns a boolean indicating if the two do match.
type: docs
weight: 270
weight: 260
url: /net/groupdocs.viewer.drawing/argb32color/op_equality/
---
## Argb32Color Equality operator
## operator == {#op_equality}

Compares two colors and returns a boolean indicating if the two do match.
Compares two [`Argb32Color`](../../argb32color) colors and returns a boolean indicating if the two do match.

```csharp
public static bool operator ==(Argb32Color left, Argb32Color right)
```

| Parameter | Type | Description |
| --- | --- | --- |
| left | Argb32Color | The first color to use. |
| right | Argb32Color | The second color to use. |
| left | Argb32Color | The first [`Argb32Color`](../../argb32color) to check |
| right | Argb32Color | The second [`Argb32Color`](../../argb32color) to check |

### Return Value

Expand All @@ -29,4 +29,30 @@ True if both colors are equal, otherwise false.
* namespace [GroupDocs.Viewer.Drawing](../../../groupdocs.viewer.drawing)
* assembly [GroupDocs.Viewer](../../../)

---

## operator == {#op_equality_1}

Compares one [`Argb32Color`](../../argb32color) color with another [`Rgb24Color`](../../rgb24color) color and returns a boolean indicating if the two do match.

```csharp
public static bool operator ==(Argb32Color left, Rgb24Color right)
```

| Parameter | Type | Description |
| --- | --- | --- |
| left | Argb32Color | The first [`Argb32Color`](../../argb32color) to check |
| right | Rgb24Color | The second [`Rgb24Color`](../../rgb24color) to check |

### Return Value

True if both colors are equal, otherwise false.

### See Also

* struct [Rgb24Color](../../rgb24color)
* struct [Argb32Color](../../argb32color)
* namespace [GroupDocs.Viewer.Drawing](../../../groupdocs.viewer.drawing)
* assembly [GroupDocs.Viewer](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: op_Explicit
second_title: GroupDocs.Viewer for .NET API Reference
description: Explicitly casts the 32bit Argb32Colorgroupdocs.viewer.drawing/argb32color to 24bit Rgb24Colorgroupdocs.viewer.drawing/rgb24color. Alpha channel of the source Argb32Colorgroupdocs.viewer.drawing/argb32color will be lost after casting because Rgb24Colorgroupdocs.viewer.drawing/rgb24color does not support transparency.
type: docs
weight: 280
weight: 270
url: /net/groupdocs.viewer.drawing/argb32color/op_explicit/
---
## Argb32Color Explicit operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: op_Implicit
second_title: GroupDocs.Viewer for .NET API Reference
description: Implicitly casts the 24bit Rgb24Colorgroupdocs.viewer.drawing/rgb24color to 32bit Argb32Colorgroupdocs.viewer.drawing/argb32color. Alpha channel of the output Argb32Colorgroupdocs.viewer.drawing/argb32color will be set to 255 fully opaque.
type: docs
weight: 290
weight: 280
url: /net/groupdocs.viewer.drawing/argb32color/op_implicit/
---
## Argb32Color Implicit operator
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
---
title: op_Inequality
second_title: GroupDocs.Viewer for .NET API Reference
description: Compares two colors and returns a boolean indicating if the two do not match.
description: Compares two Argb32Colorgroupdocs.viewer.drawing/argb32color colors and returns a boolean indicating if the two do not match.
type: docs
weight: 300
weight: 290
url: /net/groupdocs.viewer.drawing/argb32color/op_inequality/
---
## Argb32Color Inequality operator
## operator != {#op_inequality}

Compares two colors and returns a boolean indicating if the two do not match.
Compares two [`Argb32Color`](../../argb32color) colors and returns a boolean indicating if the two do not match.

```csharp
public static bool operator !=(Argb32Color left, Argb32Color right)
```

| Parameter | Type | Description |
| --- | --- | --- |
| left | Argb32Color | The first color to use. |
| right | Argb32Color | The second color to use. |
| left | Argb32Color | The first [`Argb32Color`](../../argb32color) to check |
| right | Argb32Color | The second [`Argb32Color`](../../argb32color) color to check |

### Return Value

Expand All @@ -29,4 +29,30 @@ True if both colors are not equal, otherwise false.
* namespace [GroupDocs.Viewer.Drawing](../../../groupdocs.viewer.drawing)
* assembly [GroupDocs.Viewer](../../../)

---

## operator != {#op_inequality_1}

Compares one [`Argb32Color`](../../argb32color) color with another [`Rgb24Color`](../../rgb24color) color and returns a boolean indicating if the two do not match.

```csharp
public static bool operator !=(Argb32Color left, Rgb24Color right)
```

| Parameter | Type | Description |
| --- | --- | --- |
| left | Argb32Color | The first [`Argb32Color`](../../argb32color) to check |
| right | Rgb24Color | The second [`Rgb24Color`](../../rgb24color) color to check |

### Return Value

True if both colors are not equal, otherwise false.

### See Also

* struct [Rgb24Color](../../rgb24color)
* struct [Argb32Color](../../argb32color)
* namespace [GroupDocs.Viewer.Drawing](../../../groupdocs.viewer.drawing)
* assembly [GroupDocs.Viewer](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for GroupDocs.viewer.dll -->
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: R
second_title: GroupDocs.Viewer for .NET API Reference
description: Gets the red part of the color as 8bit unsigned integer 0..255
type: docs
weight: 160
weight: 150
url: /net/groupdocs.viewer.drawing/argb32color/r/
---
## Argb32Color.R property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: ToArgb
second_title: GroupDocs.Viewer for .NET API Reference
description: Returns the ARGB value of this Argb32Colorgroupdocs.viewer.drawing/argb32color instance compatible with Color
type: docs
weight: 230
weight: 220
url: /net/groupdocs.viewer.drawing/argb32color/toargb/
---
## Argb32Color.ToArgb method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: ToRGB
second_title: GroupDocs.Viewer for .NET API Reference
description: Serializes this Argb32Colorgroupdocs.viewer.drawing/argb32color instance to the rgb CSS function notation. Alpha channel of this color will be omitted during serialization.
type: docs
weight: 240
weight: 230
url: /net/groupdocs.viewer.drawing/argb32color/torgb/
---
## Argb32Color.ToRGB method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: ToRGBA
second_title: GroupDocs.Viewer for .NET API Reference
description: Serializes this Argb32Colorgroupdocs.viewer.drawing/argb32color instance to the rgba CSS function notation
type: docs
weight: 250
weight: 240
url: /net/groupdocs.viewer.drawing/argb32color/torgba/
---
## Argb32Color.ToRGBA method
Expand Down
Loading

0 comments on commit d85ba75

Please sign in to comment.