/// ************************************************************************** /// /// $Id: MonochromeInputRestrictedProfile.java,v 1.1 2002/07/25 14:56:56 grosbois Exp $ /// /// Copyright Eastman Kodak Company, 343 State Street, Rochester, NY 14650 /// $Date $ /// *************************************************************************** /// using System; using ICCCurveType = CSJ2K.Icc.Tags.ICCCurveType; namespace CSJ2K.Icc { /// This class is a 1 component RestrictedICCProfile /// /// /// 1.0 /// /// Bruce A Kern /// public class MonochromeInputRestrictedProfile:RestrictedICCProfile { /// Get the type of RestrictedICCProfile for this object /// kMonochromeInput /// override public int Type { get { return kMonochromeInput; } } /// Factory method which returns a 1 component RestrictedICCProfile /// Gray TRC curve /// /// the RestrictedICCProfile /// public static new RestrictedICCProfile createInstance(ICCCurveType c) { return new MonochromeInputRestrictedProfile(c); } /// Construct a 1 component RestrictedICCProfile /// Gray TRC curve /// private MonochromeInputRestrictedProfile(ICCCurveType c):base(c) { } /// String representation of a MonochromeInputRestrictedProfile /// public override System.String ToString() { System.Text.StringBuilder rep = new System.Text.StringBuilder("Monochrome Input Restricted ICC profile" + eol); rep.Append("trc[GRAY]:" + eol).Append(trc[GRAY]).Append(eol); return rep.ToString(); } /* end class MonochromeInputRestrictedProfile */ } }