private static ISprite getDefaultSprite(IImage image, IGraphicsFactory factory) { ISprite sprite = factory.GetSprite(); sprite.Image = image; sprite.Location = AGSLocation.Empty(); return sprite; }
private static ISprite getDefaultSprite(IImage image, IGraphicsFactory factory) { ISprite sprite = factory.GetSprite(); sprite.Image = image; sprite.Position = Position.Empty; return(sprite); }