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 (5)
| Label | Occurrences |
|---|---|
| CanvasRenderingContext2D.createPattern | 2 |
| Canvas 2D Context | 1 |
| CanvasPattern canonical | 1 |
| CanvasPattern.setTransform | 1 |
| CanvasRenderingContext2D.fillStyle | 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
ⓘ
linked to:
CanvasPattern
|
| browserSupport |
Chrome
ⓘ
linked to:
Google Chrome
Edge ⓘ Firefox ⓘ
linked to:
Mozilla Firefox
Opera ⓘ Safari ⓘ |
| canBeCreatedFrom |
HTMLCanvasElement
ⓘ
HTMLImageElement ⓘ HTMLVideoElement ⓘ ImageBitmap ⓘ OffscreenCanvas ⓘ
linked to:
OffscreenCanvas (in supporting browsers)
|
| canBeUsedFor |
complex backgrounds
ⓘ
textures ⓘ tiled images ⓘ |
| createdBy |
CanvasRenderingContext2D.createPattern
ⓘ
linked to:
CanvasPattern
|
| definedIn |
HTML Living Standard
ⓘ
WHATWG HTML specification ⓘ
linked to:
HTML Living Standard
|
| hasMethod | setTransform ⓘ |
| hasParameter | repetition ⓘ |
| introducedIn | HTML5 ⓘ |
| isFillStyleType | true ⓘ |
| isNotConstructibleDirectly | true ⓘ |
| isRepeatable | true ⓘ |
| isStrokeStyleType | true ⓘ |
| methodBelongsTo |
CanvasPattern.setTransform
ⓘ
linked to:
CanvasPattern
|
| mustBeCreatedVia |
CanvasRenderingContext2D.createPattern
ⓘ
linked to:
CanvasPattern
|
| partOf | HTMLCanvasElement 2D context API ⓘ |
| patternSourceType |
bitmap
ⓘ
canvas ⓘ image ⓘ video ⓘ |
| relatedInterface |
CanvasGradient
ⓘ
CanvasRenderingContext2D ⓘ
linked to:
canvas 2D API
|
| repetitionValues |
no-repeat
ⓘ
repeat ⓘ repeat-x ⓘ repeat-y ⓘ |
| setTransformArgumentType |
DOMMatrix
ⓘ
DOMMatrix2DInit ⓘ |
| supportsTransformations | true ⓘ |
| usedFor |
filling shapes
ⓘ
representing repeating images or patterns ⓘ stroking paths ⓘ |
| usedWithProperty |
CanvasRenderingContext2D.fillStyle
ⓘ
linked to:
CanvasPattern
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 (6)
Full triples — surface form annotated when it differs from this entity's canonical label.
subject linked to:
canvas 2D API
linked to: CanvasPattern
linked to: CanvasPattern
linked to: CanvasPattern
linked to: CanvasPattern
linked to: CanvasPattern