public bool SetExtents (int x, int y, int width, int height, Atk.CoordType coordType) { if (transformProvider == null) transformProvider = (ITransformProvider) resource.Provider.GetPatternProvider (TransformPatternIdentifiers.Pattern.Id); if ((transformProvider != null) && (transformProvider.CanResize) && (transformProvider.CanMove)) { try { transformProvider.Move (x, y); } catch (InvalidOperationException e) { Log.Debug (e); } try { transformProvider.Resize (width, height); } catch (InvalidOperationException e) { Log.Debug (e); } return true; } return false; }
public virtual bool SetExtents(int x, int y, int width, int height, Atk.CoordType coordType) { return(componentExpert.SetExtents(x, y, width, height, coordType)); }