Files
mono/mcs/class/System.Drawing/System.Drawing.Imaging/FrameDimension.cs
T
Jordi Mas i Hernandez d34e25c9e7 more image methods implemented
svn path=/trunk/mcs/; revision=24848
2004-03-31 15:15:18 +00:00

76 lines
1.4 KiB
C#

// created on 21.02.2002 at 17:06
//
// FrameDimension.cs
//
// Author: Christian Meyer
// eMail: [email protected]
// Dennis Hayes ([email protected])
// Sanjay Gupta <[email protected]>
// Jordi Mas i Hernanez ([email protected])
namespace System.Drawing.Imaging {
using System;
public sealed class FrameDimension {
internal Guid guid;
// constructor
public FrameDimension(Guid guid)
{
this.guid = guid;
}
//properties
public Guid Guid {
get {
return guid;
}
}
public static FrameDimension Page {
get {
return new FrameDimension (new Guid ("7462dc86-6180-4c7e-8e3f-ee7333a7a483"));
}
}
public static FrameDimension Resolution {
get {
return new FrameDimension (new Guid ("84236f7b-3bd3-428f-8dab-4ea1439ca315" ));
}
}
public static FrameDimension Time {
get {
return new FrameDimension (new Guid ("6aedbd6d-3fb5-418a-83a6-7f45229dc872" ));
}
}
//methods
public override bool Equals(object o)
{
if (!(o is FrameDimension))
return false;
return (guid == ((FrameDimension)o).guid);
}
public override int GetHashCode()
{
return guid.GetHashCode ();
}
public override string ToString()
{
return "FrameDimension :" + guid;
}
//destructor
~FrameDimension()
{
}
}
}