/// <summary> /// Initializes a new instance of <see cref="GraphicState"/>. /// </summary> /// <param name="statefulGraphic"></param> protected GraphicState(IStatefulGraphic statefulGraphic) { Platform.CheckForNullReference(statefulGraphic, "statefulGraphic"); _statefulGraphic = statefulGraphic; }