Graphics
classin packageklyn.gui.windows
public class Graphics extends Painter:
└ Graphics
Backward-compatible alias for `Painter`.
graphics = Graphics(320, 200)
graphics.drawRect(10, 10, 80, 40)
Properties inherited from Painter: antialiasingEnabled, commandCount, fillRule, fillStyle, font, globalAlpha, globalCompositeOperation, height, imageSmoothingEnabled, lastCommand, lineCap, lineDashOffset, lineJoin, lineWidth, miterLimit, shadowBlur, shadowColor, shadowOffsetX, shadowOffsetY, strokeStyle, textAlign, textAntialiasingEnabled, textBaseline, transformA, transformB, transformC, transformD, transformE, transformF, width
Constructors
Modifier and Type Member Description
public Graphics
Graphics(width as Int = 0, height as Int = 0):
No summary.
Methods inherited from Painter: applyBrush, applyPen, arc, arcTo, beginPath, bezierCurveTo, clearCommands, clearRect, clip, closePath, commands, createLinearGradient, createPattern, createRadialGradient, currentBrush, currentPath, currentPen, drawEllipse, drawImage, drawLine, drawRect, drawText, ellipse, fill, fillEllipse, fillOval, fillRect, fillRoundRect, fillText, getLineDash, lineTo, measureText, moveTo, quadraticCurveTo, rect, reset, resetClip, resetTransform, restore, rotate, roundRect, save, scale, setLineDash, setTransform, shear, stroke, strokeLine, strokeOval, strokeRect, strokeRoundRect, strokeText, transform, translate