Example #1
0
        private static ISprite getDefaultSprite(IImage image, IGraphicsFactory factory)
        {
            ISprite sprite = factory.GetSprite();

            sprite.Image    = image;
            sprite.Location = AGSLocation.Empty();
            return(sprite);
        }
Example #2
0
 public AGSTranslate()
 {
     _location     = AGSLocation.Empty();
     _argsX        = new PropertyChangedEventArgs(nameof(X));
     _argsY        = new PropertyChangedEventArgs(nameof(Y));
     _argsZ        = new PropertyChangedEventArgs(nameof(Z));
     _argsLocation = new PropertyChangedEventArgs(nameof(Location));
 }
Example #3
0
 public AGSTranslate()
 {
     Location          = AGSLocation.Empty();
     OnLocationChanged = new AGSEvent <AGSEventArgs>();
 }
Example #4
0
 public AGSTranslate()
 {
     _location = AGSLocation.Empty();
 }