ReadonlykindDiscriminant (§58 "image pattern" / "render-target texture").
Optional ReadonlyoffsetUv offset, applied after repeat; finite (§85), defaults to (0, 0).
Optional ReadonlyopacitySee SolidPaint.opacity; multiplies the sampled alpha.
Optional ReadonlyrepeatUv scale; finite and non-zero per axis (§85), defaults to (1, 1).
ReadonlytextureWhat is sampled — a Texture or a RenderTarget.colorTexture (§77).
A §58 pattern: a texture sampled over the shape's own uv — the
[0, 1]²parameterization of its bounding box that every shape geometry already carries — covering two of §58's rows at once, because the texture seam isMaterialTexture: an image pattern binds aTexture, and a render-target texture binds aRenderTarget.colorTexture, with no adapter between them (R-4's seam, exactly asNodeMaterial.setTexturedocuments it).Tiling past
[0, 1]is the texture's ownwrapmode's business (§77) — the paint transforms the coordinate and the sampler decides what lies beyond, sorepeat: { x: 4 }tiles a"repeat"texture four times and clamps a"clamp"one, both honestly.