对像素进行取整保证在不同分辨率下保持清晰

This commit is contained in:
yhh
2021-05-25 11:16:49 +08:00
parent da3ab02a8d
commit 6c44d38c10
8 changed files with 53 additions and 45 deletions

View File

@@ -2499,6 +2499,7 @@ declare module es {
* @param length
*/
static repeat(t: number, length: number): number;
static floorToInt(f: number): number;
/**
* 将值绕一圈移动的助手
* @param position