略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Draw\Stroke

2024-11-15

Draw Stroke

(UI 0.9.9)

简介

Holds the configuration for the Pen to perform a stroke

类摘要

class UI\Draw\Stroke {
/* Constructor */
public __construct(
    int $cap = UI\Draw\Line\Cap::Flat,
    int $join = UI\Draw\Line\Join::Miter,
    float $thickness = 1,
    float $miterLimit = 10
)
/* 方法 */
public getCap(): int
public getJoin(): int
public getMiterLimit(): float
public getThickness(): float
public setCap(int $cap)
public setJoin(int $join)
public setMiterLimit(float $limit)
public setThickness(float $thickness)
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.ui-draw-stroke.php

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