Пример #1
0
 public override void DrawOnControl(MapGraphics graphics)
 {
     graphics.DrawTexture(TextureId, LocationOnContol, graphics.ScaleImageSize(Image.Size, graphics.IconSize),
                          UsesRotation ? Rotation : 0, Transparent ?  0.5f : 1.0f);
 }