UI\Draw\Text\Layout::setColor

(UI 0.9.9)

UI\Draw\Text\Layout::setColorEstablece el color

Descripción

public UI\Draw\Text\Layout::setColor(UI\Draw\Color $color, int $start = 0, int $end = ?)
public UI\Draw\Text\Layout::setColor(int $color, int $start = 0, int $end = ?)

Establecerá el color para todo o un rango del texto en el diseño

Parámetros

color

El color a usar

start

El carácter inicial

end

El carácter final, por defecto el final del string

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top