C# Класс ScreenToGif.Util.Other

Other helper methods.
Показать файл Открыть проект

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

Метод Описание
CopyList ( this target ) : List
CopyToEncode ( this target ) : List

Copies the List and saves the images in another folder.

Dpi ( this window ) : double

Gets the DPI of the current window.

FileName ( string fileType, int frameCount ) : string

Generates a file name.

Gcd ( double a, double b ) : double

The Greater Common Divisor.

GetTextResource ( string resourceName ) : string
IsWin8OrHigher ( ) : bool
Scale ( this window ) : double

Gets the scale of the current window.

TransformToScreen ( Point point, Visual relativeTo ) : Point
Yoyo ( List list ) : List

Makes a Yo-yo efect with the given List (List + Reverted List)

Приватные методы

Метод Описание
IncrementalFileName ( string directory, string fileType ) : string

Searchs for a valid file name.

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

CopyList() публичный статический Метод

public static CopyList ( this target ) : List
target this
Результат List

CopyToEncode() публичный статический Метод

Copies the List and saves the images in another folder.
public static CopyToEncode ( this target ) : List
target this The List to copy
Результат List

Dpi() публичный статический Метод

Gets the DPI of the current window.
public static Dpi ( this window ) : double
window this The Window.
Результат double

FileName() публичный статический Метод

Generates a file name.
public static FileName ( string fileType, int frameCount ) : string
fileType string The desired output file type.
frameCount int The number of frames of the recording.
Результат string

Gcd() публичный статический Метод

The Greater Common Divisor.
public static Gcd ( double a, double b ) : double
a double Size a
b double Size b
Результат double

GetTextResource() публичный статический Метод

public static GetTextResource ( string resourceName ) : string
resourceName string
Результат string

IsWin8OrHigher() публичный статический Метод

public static IsWin8OrHigher ( ) : bool
Результат bool

Scale() публичный статический Метод

Gets the scale of the current window.
public static Scale ( this window ) : double
window this The Window.
Результат double

TransformToScreen() публичный статический Метод

public static TransformToScreen ( Point point, Visual relativeTo ) : Point
point Point
relativeTo Visual
Результат Point

Yoyo() публичный статический Метод

Makes a Yo-yo efect with the given List (List + Reverted List)
public static Yoyo ( List list ) : List
list List The list to apply the efect
Результат List