C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ClipBottom bool
ClipLeft bool
ClipRight bool
ClipTop bool
Destination Rectangle
Invisible bool
Source Rectangle

Открытые методы

Метод Описание
ClipRectBounds ( Rectangle dest, Rectangle bounds, int factor ) : void

Описание методов

ClipRectBounds() публичный Метод

public ClipRectBounds ( Rectangle dest, Rectangle bounds, int factor ) : void
dest Rectangle
bounds Rectangle
factor int
Результат void

Описание свойств

ClipBottom публичное свойство

Has the sprite been clipped along the bottom
public bool ClipBottom
Результат bool

ClipLeft публичное свойство

Has the sprite been clipped along the left
public bool ClipLeft
Результат bool

ClipRight публичное свойство

Has the sprite been clipped along the right.
public bool ClipRight
Результат bool

ClipTop публичное свойство

Has the sprite been clipped along the top
public bool ClipTop
Результат bool

Destination публичное свойство

The destination rectangle
public Rectangle Destination
Результат Rectangle

Invisible публичное свойство

Has the sprite been clipped outside of the view
public bool Invisible
Результат bool

Source публичное свойство

The source rectangle
public Rectangle Source
Результат Rectangle