Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
ColorScheme..::..GetColor Method
ColorScheme Class See Also Send Feedback

Gets color pair for a character-class.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    public void GetColor(
    	CharClass klass,
    	out Color fore,
    	out Color back
    )

Visual Basic
    Public Sub GetColor (
    	klass As CharClass,
    	<OutAttribute> ByRef fore As Color,
    	<OutAttribute> ByRef back As Color
    )

#### Parameters

klass
  Type: Sgry.Azuki..::..CharClass
  The color-pair associated with this character-class will be got.

fore
  Type: System.Drawing..::..Color%
  Foreground color used to draw characters marked as the character-class.

back
  Type: System.Drawing..::..Color%
  Background color used to draw characters marked as the character-class.

# Remarks

This method gets a pair of colors which is associated with CharClass specified by parameter 'klass.'

Note that, although Azuki does not use actually set background color value if it was Color.Transparent, this method returns the actually set value (Color.Transparent) in the case.

# See Also

ColorScheme Class
ColorScheme..::..ColorScheme Members
Sgry.Azuki Namespace
ColorScheme.SetColor method