Gets color pair for a character-class.

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

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