C# Class Paint.ColorSelectorDefinition

Color selector definition -layout of the color selector
Afficher le fichier Open project: RandolphBurt/MonoGame-iOS-SimplePaint Class Usage Examples

Méthodes publiques

Méthode Description
ColorSelectorDefinition ( Microsoft.Xna.Framework.Color startColor, ToolboxLayoutDefinitionPaintToolsColorSelector colorSelectorDefinition, int scale ) : Microsoft.Xna.Framework

Initializes a new instance of the Paint.ColorSelectorDefinition class.

Method Details

ColorSelectorDefinition() public méthode

Initializes a new instance of the Paint.ColorSelectorDefinition class.
public ColorSelectorDefinition ( Microsoft.Xna.Framework.Color startColor, ToolboxLayoutDefinitionPaintToolsColorSelector colorSelectorDefinition, int scale ) : Microsoft.Xna.Framework
startColor Microsoft.Xna.Framework.Color The initial colour we are drawing with.
colorSelectorDefinition Paint.ToolboxLayout.ToolboxLayoutDefinitionPaintToolsColorSelector Layout of the color selector as defined within a xml file.
scale int
Résultat Microsoft.Xna.Framework