AGENT.Contrib.Face.WatchFace.WatchFace C# (CSharp) Method

WatchFace() public method

public WatchFace ( IFace face, Microsoft.SPOT.Bitmap screen = null, ISettings settings = null ) : System
face IFace
screen Microsoft.SPOT.Bitmap
settings ISettings
return System
        public WatchFace(IFace face, Bitmap screen = null, ISettings settings = null)
        {            
            Face = face;
            if(screen == null) screen = new Bitmap(Bitmap.MaxWidth, Bitmap.MaxHeight);
            if (settings == null) settings = SettingsProvider.Current;
            Screen = screen;
            Settings = settings;
            if (Face.Settings == null) Face.Settings = settings;
        }