//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.Collections;
using System.ComponentModel;
using System.Globalization;
using System.Text;
using System.Web.UI;
///
/// Implements HotSpot for polygon regions.
///
public sealed class PolygonHotSpot : HotSpot {
///
///
///
[
DefaultValue(""),
WebCategory("Appearance"),
WebSysDescription(SR.PolygonHotSpot_Coordinates),
]
public String Coordinates {
get {
String o = ViewState["Coordinates"] as String;
return o != null ? o : String.Empty;
}
set {
ViewState["Coordinates"] = value;
}
}
protected internal override string MarkupName {
get {
return "poly";
}
}
public override string GetCoordinates() {
return Coordinates;
}
}
}