Fabric.js

Tela Software:
Fabric.js
Detalhes de Software:
Versão: 1.5.0 / 1.6.0-rc.1 Atualizado
Data de upload: 10 Dec 15
Revelador: Juriy Zaytsev
Licença: Livre
Popularidade: 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

Outro software de desenvolvedor Juriy Zaytsev

HTMLMinifier
HTMLMinifier

6 Mar 16

kratko.js
kratko.js

6 Jun 15

Comentário para Fabric.js

Comentários não encontrado
Adicionar comentário
Ligue imagens!