namespace System.Drawing
{
+#if !MONOTOUCH && !MONOMAC
[TypeConverter(typeof(ColorConverter))]
[Editor ("System.Drawing.Design.ColorEditor, " + Consts.AssemblySystem_Drawing_Design, typeof (System.Drawing.Design.UITypeEditor))]
+#endif
[Serializable]
public struct Color {
0xFF316AC5, /* 174 - MenuHighlight */
};
+#if !MONOTOUCH && !MONOMAC
static KnownColors ()
{
if (GDIPlus.RunningOnWindows ()) {
ArgbValues [(int)KnownColor.MenuBar] = GetSysColor (GetSysColorIndex.COLOR_MENUBAR);
ArgbValues [(int)KnownColor.MenuHighlight] = GetSysColor (GetSysColorIndex.COLOR_MENUHIGHLIGHT);
}
+#endif
public static Color FromKnownColor (KnownColor kc)
{
{
[Serializable]
[ComVisible (true)]
+#if !MONOTOUCH && !MONOMAC
[TypeConverter (typeof (PointConverter))]
+#endif
public struct Point
{
// Private x and y coordinate fields.
{
[Serializable]
[ComVisible (true)]
+#if !MONOTOUCH && !MONOMAC
[TypeConverter (typeof (RectangleConverter))]
+#endif
public struct Rectangle
{
private int x, y, width, height;
{
[Serializable]
[ComVisible (true)]
+#if !MONOTOUCH && !MONOMAC
[TypeConverter (typeof (SizeConverter))]
+#endif
public struct Size
{
{
[Serializable]
[ComVisible (true)]
+#if !MONOTOUCH && !MONOMAC
[TypeConverter (typeof (SizeFConverter))]
+#endif
public struct SizeF
{
// Private height and width fields.