C# Class Paint.ColorSelectorDefinition

Color selector definition -layout of the color selector
Mostrar archivo Open project: RandolphBurt/MonoGame-iOS-SimplePaint Class Usage Examples

Public Methods

Method 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 method

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
return Microsoft.Xna.Framework