Show / Hide Table of Contents

    Interface ISprite

    A sprite is an image which can be manipulated (scaled, rotated or translated in space).

    Inherited Members
    IPixelPerfectCollidable.PixelPerfectHitTestArea
    IScale.Height
    IScale.Width
    IScale.ScaleX
    IScale.ScaleY
    IScale.Scale
    IScale.BaseSize
    IScale.ResetScale()
    IScale.ResetScale(Single, Single)
    IScale.ScaleTo(Single, Single)
    IScale.FlipHorizontally()
    IScale.FlipVertically()
    IRotate.Angle
    ITranslate.Position
    ITranslate.X
    ITranslate.Y
    ITranslate.Z
    IHasImage.Opacity
    IHasImage.Tint
    IHasImage.Brightness
    IHasImage.Pivot
    IHasImage.Image
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.IDisposable.Dispose()
    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface ISprite : IPixelPerfectCollidable, IHasModelMatrix, IScale, IRotate, ITranslate, IHasImage, INotifyPropertyChanged, IDisposable

    Methods

    | Improve this Doc View Source

    Clone()

    Clone this sprite. This is a deep clone, meaning the generated sprite will be detached from the existing sprite.

    Declaration
    ISprite Clone()
    Returns
    Type Description
    ISprite

    The cloned sprite.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX