logologo
指南
API
每周快讯
示例入手
贡献
简体中文
English
指南
API
每周快讯
示例入手
贡献
简体中文
English
logologo
简介
Makepad 速查手册
命令行工具

Sdf2d

builtin

abs
acos
all
any
asin
atan
ceil
clamp
cos
cross
degrees
dFdx, dFdy
distance
dot
equal
exp
exp2
faceforward
floor
fract
greaterThan
greaterThanEqual
inverse
inversesqrt
length
lessThan
lessThanEqual
log
log2
matrixCompMult
max
min
mix
mod
normalize
not
notEqual
pow
radians
reflect
refract
2D-samples a render target texture. [???]
sign
sin
smoothstep
sqrt
step
tan
transpose

fields

aa
blur
clip
dist
has_clip
last_pos
old_shape
post
result
scale_factor
shape
start_pos

methods

bool

intersect
subtract
union

draw

primitives

arc2
box_all
box_x
box_y
box
circle
hexagon
hline
rect
close_path
fill_keep_premul
fill_keep
fill_premul
fill
line_to
move_to
stroke_keep
stroke

effects

gloop
glow_keep
glow

transform

rotate
scale
translate
clear
viewport
  • Makepad 速查手册
  • Sdf2d API

#简介

Makepad 提供了一系列 API,让你可以与 Makepad 平台进行交互。本文档概述了可用的 API、其用法和示例。

#Makepad 速查手册

《Makepad 速查手册》是面向希望开始使用 Makepad 的开发人员的综合资源。它涵盖了有效使用该平台的关键概念、功能和最佳实践。

Makepad 速查手册 →

#Sdf2d API

  • Builtin
  • Feilds
  • Methods
📝 在 GitHub 上编辑此页
Next PageMakepad 速查手册
ON THIS PAGE
  • Makepad 速查手册
  • Sdf2d API