Fabric.js

Software screenshot:
Fabric.js
Podrobnosti Software:
Verze: 1.5.0 / 1.6.0-rc.1 Aktualizováno
Datum uploadu: 10 Dec 15
Vývojka: Juriy Zaytsev
Licence: Volný
Popularita: 115

Rating: 1.0/5 (Total Votes: 1)

Basically, Fabric.js can be used for about any HTML5 canvas manipulation, like live drawing, adding objects, importing SVG images, editing and processing shapes, etc..

On top of this functionality, probably as important, the built-in SVG-to-canvas parser also allows developers to easily migrate they're previously built SVG graphics into HTML 5 canvas.

This ensures more control over these graphics, access developers didn't have while they were in SVG format.

In more complex terms Fabric.js can be considered as an interactive object-model built on top of HTML 5 canvas element, just like the DOM is for HTML pages.

Fabric.js works with both client-side (browsers) and server-side (Node.js) environments.

What is new in this release:

  • BACK INCOMPATIBILITIES:
  • JSON and Cufon are no longer included in default build
  • Change default objects' originX/originY to left/top
  • fabric.StaticCanvas#backgroundImage and fabric.StaticCanvas#overlayImage are fabric.Image instances. fabric.StaticCanvas#backgroundImageOpacity, fabric.StaticCanvas#backgroundImageStretch, fabric.StaticCanvas#overlayImageLeft and fabric.StaticCanvas#overlayImageTop were removed.
  • fabric.Text#backgroundColor is now fabric.Object#backgroundColor
  • Remove fabric.Object#toGrayscale and fabric.Object#overlayFill since they're too specific
  • Remove fabric.StaticCanvas.toGrayscale since we already have that logic in fabric.Image.filters.Grayscale.
  • Split centerTransform into the properties centeredScaling and centeredRotation. Object rotation now happens around originX/originY point UNLESS centeredRotation=true. Object scaling now happens non-centered UNLESS centeredScaling=true.

What is new in version 1.5.0:

  • BACK INCOMPATIBILITIES:
  • JSON and Cufon are no longer included in default build
  • Change default objects' originX/originY to left/top
  • fabric.StaticCanvas#backgroundImage and fabric.StaticCanvas#overlayImage are fabric.Image instances. fabric.StaticCanvas#backgroundImageOpacity, fabric.StaticCanvas#backgroundImageStretch, fabric.StaticCanvas#overlayImageLeft and fabric.StaticCanvas#overlayImageTop were removed.
  • fabric.Text#backgroundColor is now fabric.Object#backgroundColor
  • Remove fabric.Object#toGrayscale and fabric.Object#overlayFill since they're too specific
  • Remove fabric.StaticCanvas.toGrayscale since we already have that logic in fabric.Image.filters.Grayscale.
  • Split centerTransform into the properties centeredScaling and centeredRotation. Object rotation now happens around originX/originY point UNLESS centeredRotation=true. Object scaling now happens non-centered UNLESS centeredScaling=true.

What is new in version 1.4.13:

  • BACK INCOMPATIBILITIES:
  • JSON and Cufon are no longer included in default build
  • Change default objects' originX/originY to left/top
  • fabric.StaticCanvas#backgroundImage and fabric.StaticCanvas#overlayImage are fabric.Image instances. fabric.StaticCanvas#backgroundImageOpacity, fabric.StaticCanvas#backgroundImageStretch, fabric.StaticCanvas#overlayImageLeft and fabric.StaticCanvas#overlayImageTop were removed.
  • fabric.Text#backgroundColor is now fabric.Object#backgroundColor
  • Remove fabric.Object#toGrayscale and fabric.Object#overlayFill since they're too specific
  • Remove fabric.StaticCanvas.toGrayscale since we already have that logic in fabric.Image.filters.Grayscale.
  • Split centerTransform into the properties centeredScaling and centeredRotation. Object rotation now happens around originX/originY point UNLESS centeredRotation=true. Object scaling now happens non-centered UNLESS centeredScaling=true.

What is new in version 1.3.0:

  • Remove selectable, hasControls, hasBorders, hasRotatingPoint, transparentCorners, perPixelTargetFind from default object/json representation of objects.
  • Object rotation now happens around originX/originY point UNLESS centerTransform=true.
  • fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow).
  • fabric.BaseBrush shadow properties are combined into one property => fabric.BaseBrush.shadow (shadowColor, shadowBlur, shadowOffsetX, shadowOffsetY no longer exist).
  • fabric.Path.fromObject is now async. fabric.Canvas#loadFromDatalessJSON is deprecated.

What is new in version 1.2.0:

  • Make fabric.Object#toDataURL synchronous.
  • fabric.Text#strokeStyle -> fabric.Text#stroke, for consistency with other objects.
  • fabric.Object.setActive(...) -> fabric.Object.set('active', ...). fabric.Object.isActive is gone (use fabric.Object.active instead).

Requirements:

  • JavaScript enabled on client side
  • Node.js 0.6 or higher for server-side environments

Ostatní software developer Juriy Zaytsev

HTMLMinifier
HTMLMinifier

6 Mar 16

kratko.js
kratko.js

6 Jun 15

Komentáře k Fabric.js

Komentáře nebyl nalezen
Přidat komentář
Zapnout obrázky!