C# Class Terrarium.Renderer.DirectX.DirectDrawClippedRect

Represents a sprite clipping structure that can be used to draw sprites between surfaces will full edge clipping. These are public members instead of property accessors because they sometimes need to be passed as ref or out arguments and these aren't supported on accessors.
Afficher le fichier Open project: eugeniomiro/Terrarium Class Usage Examples

Méthodes publiques

Свойство Type Description
ClipBottom bool
ClipLeft bool
ClipRight bool
ClipTop bool
Destination Rectangle
Invisible bool
Source Rectangle

Méthodes publiques

Méthode Description
ClipRectBounds ( Rectangle dest, Rectangle bounds, int factor ) : void

Method Details

ClipRectBounds() public méthode

public ClipRectBounds ( Rectangle dest, Rectangle bounds, int factor ) : void
dest Rectangle
bounds Rectangle
factor int
Résultat void

Property Details

ClipBottom public_oe property

Has the sprite been clipped along the bottom
public bool ClipBottom
Résultat bool

ClipLeft public_oe property

Has the sprite been clipped along the left
public bool ClipLeft
Résultat bool

ClipRight public_oe property

Has the sprite been clipped along the right.
public bool ClipRight
Résultat bool

ClipTop public_oe property

Has the sprite been clipped along the top
public bool ClipTop
Résultat bool

Destination public_oe property

The destination rectangle
public Rectangle Destination
Résultat Rectangle

Invisible public_oe property

Has the sprite been clipped outside of the view
public bool Invisible
Résultat bool

Source public_oe property

The source rectangle
public Rectangle Source
Résultat Rectangle