반응형
반응형
점프 투 파이썬
점프 투 파이썬
반응형
반응형
개발자, 나의 현재 위치

반응형
반응형
반응형
반응형

freeCodeCamp Guide

This website is full of articles about all things related to programming. You can use the search bar above to find something you would like to learn about, or use the navigation to explore the content.

There are articles on:

  • SQL
  • Mathematics
  • JavaScript
  • Bootstrap
  • Git
  • and a whole lot more

https://guide.freecodecamp.org/

 

freeCodeCamp Guide

freeCodeCamp Guide This website is full of articles about all things related to programming. You can use the search bar above to find something you would like to learn about, or use the navigation to explore the content. There are articles on: SQLMathemati

guide.freecodecamp.org

 

반응형

'프로그래밍' 카테고리의 다른 글

개발자 구인난이 심각한가?  (0) 2019.08.21
애플에 리젝 받을때의 기분  (0) 2019.07.25
맥북 프로 2019  (0) 2019.06.09
로지텍 M720 무선마우스 M-R0062  (0) 2019.06.03
Top 10 Tech Skills in demand in 2019  (0) 2019.05.20
반응형
반응형
반응형

Build and edit SVGs in the browser http://jxnblk.com/paths

 

Paths

 

jxnblk.com

 

SVG Path Commands

The path element is used to create complex shapes based on a series of commands. Each command begins with a letter and is followed by numbers representing x/y coordinates according to the SVG’s viewBox attribute. Uppercase letters represent absolute coordinate movements, and lowercase letters represent relative movements. For simplicity, the Paths app only supports absolute movements.

For a more in-depth introduction, see the MDN Path Tutorial.

M x y

The Moveto command moves the current point without drawing. Paths must begin with a Moveto command to determine where the drawing starts.

L x y

The Lineto command draws a straight line from the previous command to its x/y coordinates.

H x

The Horizontal Lineto command draws a horizontal line.

V y

The Vertical Lineto command draws a vertical line.

C x1 y1 x2 y2 x y

The Curveto command draws a cubic Bézier curve with control points for the beginning and end of the curve. The final x/y coordinate pair determines where the line ends.

S x2 y2 x y

The Shorthand/Smooth Curveto command draws a cubic Bézier curve with a control point for the end of the curve. The first control point is a reflection of the control point from the previous command.

Q x1 y1 x y

The Quadratic Bézier Curveto command draws a quadratic Bézier curve with a single control point for both points on the curve.

T x y

The Shorthand/Smooth Quadratic Bézier Curveto command draws a quadratic Bézier curve, using a reflection of the previous command’s control point.

Z

The Closepath command draws a line to the intial point to close a path.

A rx ry x-axis-rotaion large-arc-flag sweep-flag x y

Note: The Arc command is currently not supported in the Paths app

The Elliptical Arc command draws an elliptical arc to the x/y coordinates.

How-To Use the App

Unlike other vector drawing applications, Paths has no tool palette or modes. Instead it exposes the path command syntax in a reactive user interface.

  • Use the form to the right to manually adjust the type and parameters for each command.
  • Add new points with the button below the form.
  • Remove points with the × button next to the command.
  • Click to select points on the canvas.
  • Click and drag to move points.
  • Use the arrow keys to nudge points.
  • Click anywhere on the canvas to add a new point after the selected point.
  • Click the blue × button to the right of the command syntax tooltip to remove a point.
  • Click outside of the canvas to deselect all points.
  • Use the toolbar below the canvas to toggle the following:
    • Grid visibility
    • Snap to grid
    • Path preview mode
  • Use the Download link to save the SVG.
  • Use the + & - buttons to zoom in and out.
  • Copy and paste the URL (along with the parameters) to share links with others.

 

반응형

+ Recent posts