略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: CairoAntialias

2024-12-26

The CairoAntialias class

(No version information available, might only be in Git)

简介

Enum class that specifies the type of antialiasing to do when rendering text or shapes.

类摘要

CairoAntialias {
/* 常量 */
const integer MODE_DEFAULT = 0 ;
const integer MODE_NONE = 1 ;
const integer MODE_GRAY = 2 ;
const integer MODE_SUBPIXEL = 3 ;
}

预定义常量

CairoAntialias::MODE_DEFAULT

Use the default antialiasing for the subsystem and target device

CairoAntialias::MODE_NONE

Use a bilevel alpha mask

CairoAntialias::MODE_GRAY

Perform single-color antialiasing (using shades of gray for black text on a white background, for example).

CairoAntialias::MODE_SUBPIXEL

Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.cairoantialias.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3