CanvasPattern
E868166
CanvasPattern is an object in the HTML5 Canvas 2D API that represents a repeating image or pattern used for filling shapes and strokes.
All labels observed (1)
| Label | Occurrences |
|---|---|
| CanvasPattern canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T10513056 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
NED1
Entity disambiguation (via context triple)
gpt-5-mini-2025-08-07
Target entity: CanvasPattern Context triple: [Canvas 2D API, supportsPattern, CanvasPattern]
-
A.
canvas 2D API
The canvas 2D API is a web graphics interface that lets developers draw and manipulate 2D shapes, text, images, and animations directly in an HTML `<canvas>` element using JavaScript.
-
B.
GG canvas
GG canvas is Gucci’s iconic double-G monogram fabric, widely used across the brand’s handbags, luggage, and accessories as a hallmark of its luxury identity.
-
C.
QuickDraw graphics system
The QuickDraw graphics system was Apple’s 2D graphics library and rendering engine that powered the visual interface and drawing operations of the classic Mac OS.
-
D.
Quartz 2D
Quartz 2D is Apple’s modern 2D graphics rendering and drawing engine used in macOS and iOS for high-quality, resolution-independent graphics.
-
E.
node-canvas
node-canvas is a Node.js library that implements the HTML5 Canvas API on the server side, enabling server-side rendering and manipulation of graphics.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
NED2
Entity disambiguation (via description)
gpt-5-mini-2025-08-07
Target entity: CanvasPattern Target entity description: CanvasPattern is an object in the HTML5 Canvas 2D API that represents a repeating image or pattern used for filling shapes and strokes.
-
A.
canvas 2D API
The canvas 2D API is a web graphics interface that lets developers draw and manipulate 2D shapes, text, images, and animations directly in an HTML `<canvas>` element using JavaScript.
-
B.
GG canvas
GG canvas is Gucci’s iconic double-G monogram fabric, widely used across the brand’s handbags, luggage, and accessories as a hallmark of its luxury identity.
-
C.
QuickDraw graphics system
The QuickDraw graphics system was Apple’s 2D graphics library and rendering engine that powered the visual interface and drawing operations of the classic Mac OS.
-
D.
Quartz 2D
Quartz 2D is Apple’s modern 2D graphics rendering and drawing engine used in macOS and iOS for high-quality, resolution-independent graphics.
-
E.
node-canvas
node-canvas is a Node.js library that implements the HTML5 Canvas API on the server side, enabling server-side rendering and manipulation of graphics.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Canvas2DAPIObject
ⓘ
WebAPIInterface ⓘ |
| availableIn | WindowOrWorkerGlobalScope (via OffscreenCanvas) ⓘ |
| belongsToNamespace | Canvas 2D Context NERFINISHED ⓘ |
| browserSupport |
Chrome
NERFINISHED
ⓘ
Edge NERFINISHED ⓘ Firefox NERFINISHED ⓘ Opera NERFINISHED ⓘ Safari NERFINISHED ⓘ |
| canBeCreatedFrom |
HTMLCanvasElement
NERFINISHED
ⓘ
HTMLImageElement ⓘ HTMLVideoElement ⓘ ImageBitmap NERFINISHED ⓘ OffscreenCanvas NERFINISHED ⓘ |
| canBeUsedFor |
complex backgrounds
ⓘ
textures ⓘ tiled images ⓘ |
| createdBy | CanvasRenderingContext2D.createPattern NERFINISHED ⓘ |
| definedIn |
HTML Living Standard
NERFINISHED
ⓘ
WHATWG HTML specification NERFINISHED ⓘ |
| hasMethod | setTransform ⓘ |
| hasParameter | repetition ⓘ |
| introducedIn | HTML5 NERFINISHED ⓘ |
| isFillStyleType | true ⓘ |
| isNotConstructibleDirectly | true ⓘ |
| isRepeatable | true ⓘ |
| isStrokeStyleType | true ⓘ |
| methodBelongsTo | CanvasPattern.setTransform NERFINISHED ⓘ |
| mustBeCreatedVia | CanvasRenderingContext2D.createPattern NERFINISHED ⓘ |
| partOf | HTMLCanvasElement 2D context API ⓘ |
| patternSourceType |
bitmap
ⓘ
canvas ⓘ image ⓘ video ⓘ |
| relatedInterface |
CanvasGradient
ⓘ
CanvasRenderingContext2D NERFINISHED ⓘ |
| repetitionValues |
no-repeat
ⓘ
repeat ⓘ repeat-x ⓘ repeat-y ⓘ |
| setTransformArgumentType |
DOMMatrix
NERFINISHED
ⓘ
DOMMatrix2DInit ⓘ |
| supportsTransformations | true GENERATED ⓘ |
| usedFor |
filling shapes
ⓘ
representing repeating images or patterns ⓘ stroking paths ⓘ |
| usedWithProperty |
CanvasRenderingContext2D.fillStyle
NERFINISHED
ⓘ
CanvasRenderingContext2D.strokeStyle ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: CanvasPattern Description of subject: CanvasPattern is an object in the HTML5 Canvas 2D API that represents a repeating image or pattern used for filling shapes and strokes.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.
subject surface form:
Canvas 2D API