Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

9854ce38 e98f 5bcf 796f 89ab4970a242

haplokuon edited this page May 6, 2023 · 1 revision

RgbToAci Method

netDxf 3.0.0 Library

Obtains the approximate color index from the RGB components.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static byte RgbToAci(
	byte r,
	byte g,
	byte b
)

VB

Public Shared Function RgbToAci ( 
	r As Byte,
	g As Byte,
	b As Byte
) As Byte

C++

public:
static unsigned char RgbToAci(
	unsigned char r, 
	unsigned char g, 
	unsigned char b
)

F#

static member RgbToAci : 
        r : byte * 
        g : byte * 
        b : byte -> byte 

Parameters

  Byte
Red component.
  Byte
Green component.
  Byte
Blue component.

Return Value

Byte
The approximate color index from the RGB components.

See Also

Reference

AciColor Class
netDxf Namespace

Clone this wiki locally