NShape Reference
ColorStyle Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape >

NShape Reference
ColorStyle Class

Previous pageReturn to chapter overviewNext page

Provides the definition of a color.

Syntax

public sealed class ColorStyle: StyleIColorStyle

Description

Provides the definition of a color.

Public Properties

Name

Description

Empty

This static read-only field represents a default and not initialized color style.

StandardNames

Returns the StandardColorStyleNames.

Color

Specifies the color.

ConvertToGray

Specifies if the color should be converted to gray.

Transparency

Specifies the transparency of the color in percentage.

Public Methods

Name

Description

Assign

Copies all properties of the given style into the current style.

Protected Methods

Name

Description

IsStandardName

returns true if the given string matches a standard style name (comparison is performed case insensitive).

Requirements

Namespace: Dataweb.NShape

Assembly: Dataweb.NShape