Skip to main content

PdfAnnotationColor Struct

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

Color used for annotation stroke/border or fill/interior.

public struct PdfAnnotationColor

Inheritance: ValueType -> PdfAnnotationColor

Implements: IEquatable<PdfAnnotationColor>

Constructors

NameDescription
PdfAnnotationColorColor used for annotation stroke/border or fill/interior.

PdfAnnotationColor Constructor

Color used for annotation stroke/border or fill/interior.

public PdfAnnotationColor(byte R, byte G, byte B, byte A)

Parameters

R byte

G byte

B byte

A byte

Methods

NameDescription
DeconstructNo summary available.
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

Deconstruct Method

public void Deconstruct(byte& R, byte& G, byte& B, byte& A)

Parameters

R byte&

G byte&

B byte&

A byte&

Equals overloads

Equals Method

public bool Equals(Avalonia.Controls.Pdf.Core.PdfAnnotationColor other)
Parameters

other Avalonia.Controls.Pdf.Core.PdfAnnotationColor

Returns

bool

Equals Method

public bool Equals(object obj)
Parameters

obj object

Returns

bool

GetHashCode Method

public int GetHashCode()

Returns

int

ToString Method

public string ToString()

Returns

string

Properties

NameDescription
ANo summary available.
BNo summary available.
GNo summary available.
RNo summary available.

A Property

public byte A { get; set; }

B Property

public byte B { get; set; }

G Property

public byte G { get; set; }

R Property

public byte R { get; set; }