Table of Contents

Class RgbSeed

Namespace
Hi.Coloring
Assembly
HiGeom.dll

A simple object contains RGB value.

public class RgbSeed : IGetRgb, IMakeXmlSource
Inheritance
RgbSeed
Implements
Inherited Members
Extension Methods

Constructors

RgbSeed()

Ctor.

public RgbSeed()

RgbSeed(Vec3d)

Ctor.

public RgbSeed(Vec3d rgb)

Parameters

rgb Vec3d

RGB

RgbSeed(XElement)

Ctor.

public RgbSeed(XElement src)

Parameters

src XElement

XML

Properties

Rgb

RGB.

public Vec3d Rgb { get; set; }

Property Value

Vec3d

XName

Name for XML IO.

public static string XName { get; }

Property Value

string

Methods

GetRgb()

Get RGB.

public Vec3d GetRgb()

Returns

Vec3d

RGB

MakeXmlSource(string, string)

Creates an XML representation of the object. This method may also generate additional resources such as related files.

public XElement MakeXmlSource(string baseDirectory, string relFile)

Parameters

baseDirectory string

The base directory for resolving relative paths

relFile string

The relative file path for the XML source

Returns

XElement

An XML element representing the object's state