Package | Description |
---|---|
org.vectomatic.dom.svg |
Wrapper classes representing the bulk of libgwtsvg public API.
|
org.vectomatic.dom.svg.events |
SVG-specific event handler classes.
|
org.vectomatic.dom.svg.impl |
libgwtsvg implementation classes, not to be accessed directly.
|
Modifier and Type | Method and Description |
---|---|
OMSVGPoint |
OMSVGPoint.add(OMSVGPoint p)
Adds the specified point to this point.
|
OMSVGPoint |
OMSVGPoint.add(OMSVGPoint p,
OMSVGPoint destination)
Adds the specified point to this point and puts the
result in the specified destination point.
|
OMSVGPoint |
OMSVGPointList.appendItem(OMSVGPoint newItem)
Inserts a new item at the end of the list.
|
OMSVGPoint |
OMSVGPoint.assignTo(OMSVGPoint destination)
Copies this point to the specified destination point.
|
OMSVGPoint |
OMSVGSVGElement.createSVGPoint()
Creates an
OMSVGPoint object outside of
any document trees. |
OMSVGPoint |
OMSVGSVGElement.createSVGPoint(float x,
float y)
Creates an
OMSVGPoint object outside of
any document trees. |
OMSVGPoint |
OMSVGSVGElement.createSVGPoint(OMSVGPoint p)
Creates an
OMSVGPoint object outside of
any document trees. |
OMSVGPoint |
OMSVGPoint.floor()
Applies the
Math.floor() to the coordinated of this point. |
OMSVGPoint |
OMSVGPoint.floor(OMSVGPoint destination)
Applies the
Math.floor() to the coordinated of this
point and puts the result in the specified destination point. |
OMSVGPoint |
OMSVGSVGElement.getCurrentTranslate()
On an outermost svg element, the corresponding translation
factor that takes into account user "magnification".
|
OMSVGPoint |
OMSVGTextContentElement.getEndPositionOfChar(int charnum)
Returns the current text position after rendering the character in the
user coordinate system for rendering the glyph(s) that correspond to the
specified character.
|
OMSVGPoint |
OMSVGPointList.getItem(int index)
Returns the specified item from the list.
|
OMSVGPoint |
OMSVGPathElement.getPointAtLength(float distance)
Returns the (x,y) coordinate in user space which is distance
units along the path, utilizing the user agent's distance-along-a-path
algorithm.
|
OMSVGPoint |
OMSVGTextContentElement.getStartPositionOfChar(int charnum)
Returns the current text position before rendering the character in the
user coordinate system for rendering the glyph(s) that correspond to the
specified character.
|
OMSVGPoint |
OMSVGPointList.initialize(OMSVGPoint newItem)
Clears all existing current items from the list and re-initializes the
list to hold the single item specified by the parameter.
|
OMSVGPoint |
OMSVGPointList.insertItemBefore(OMSVGPoint newItem,
int index)
Inserts a new item into the list at the specified position.
|
OMSVGPoint |
OMSVGLineElement.intersectionPoint(OMSVGPoint p)
Computes the intersection point between this line and the tangent
perpendicular to this line through p.
|
OMSVGPoint |
OMSVGLineElement.intersectionPoint(OMSVGPoint p,
OMSVGPoint destination)
Computes the intersection point between this line and the tangent
perpendicular to this line through p and puts the
result in the specified destination point.
|
OMSVGPoint |
OMSVGPoint.matrixTransform(OMSVGMatrix matrix)
Applies a 2x3 matrix transformation on this
OMSVGPoint
object and returns a new, transformed OMSVGPoint
object: |
OMSVGPoint |
OMSVGPoint.product(OMSVGPoint p)
Multiplies this point by the specified point.
|
OMSVGPoint |
OMSVGPoint.product(OMSVGPoint p,
OMSVGPoint destination)
Multiplies this point by the specified point and puts the
result in the specified destination point.
|
OMSVGPoint |
OMSVGPointList.removeItem(int index)
Removes an existing item from the list.
|
OMSVGPoint |
OMSVGPointList.replaceItem(OMSVGPoint newItem,
int index)
Replaces an existing item in the list with a new item.
|
OMSVGPoint |
OMSVGPoint.round()
Applies the
Math.round() to the coordinated of this point. |
OMSVGPoint |
OMSVGPoint.round(OMSVGPoint destination)
Applies the
Math.round() to the coordinated of this
point and puts the result in the specified destination point. |
OMSVGPoint |
OMSVGPoint.scale(float f)
Scales this point by the specified factor.
|
OMSVGPoint |
OMSVGPoint.scale(float f,
OMSVGPoint destination)
Scales this point by the specified factor and puts the
result in the specified destination point.
|
OMSVGPoint |
OMSVGPoint.substract(OMSVGPoint p)
Substracts the specified point from this point.
|
OMSVGPoint |
OMSVGPoint.substract(OMSVGPoint p,
OMSVGPoint destination)
Substracts the specified point to this point and puts the
result in the specified destination point.
|
Modifier and Type | Method and Description |
---|---|
Iterator<OMSVGPoint> |
OMSVGPointList.iterator()
Returns an iterator over the
OMSVGPoint
elements in this list in proper sequence. |
Modifier and Type | Method and Description |
---|---|
OMSVGPoint |
OMSVGPoint.add(OMSVGPoint p)
Adds the specified point to this point.
|
OMSVGPoint |
OMSVGPoint.add(OMSVGPoint p,
OMSVGPoint destination)
Adds the specified point to this point and puts the
result in the specified destination point.
|
OMSVGPoint |
OMSVGPointList.appendItem(OMSVGPoint newItem)
Inserts a new item at the end of the list.
|
OMSVGPoint |
OMSVGPoint.assignTo(OMSVGPoint destination)
Copies this point to the specified destination point.
|
boolean |
OMSVGRect.contains(OMSVGPoint p)
Returns true if the specified point is inside this rectangle,
false otherwise.
|
OMSVGLineElement |
OMSVGDocument.createSVGLineElement(OMSVGPoint p1,
OMSVGPoint p2)
Creates an
OMSVGLineElement object in this
document but does not attach it to the document tree. |
OMSVGPoint |
OMSVGSVGElement.createSVGPoint(OMSVGPoint p)
Creates an
OMSVGPoint object outside of
any document trees. |
float |
OMSVGPoint.crossProduct(OMSVGPoint p)
Returns the cross product of this point and the specified point.
|
float |
OMSVGPoint.distance(OMSVGPoint p)
Returns the euclidian distance from this point to specified point.
|
float |
OMSVGPoint.distance2(OMSVGPoint p)
Returns the squared euclidian distance from this point to specified point.
|
float |
OMSVGLineElement.distanceToLine(OMSVGPoint p)
Computes the distance from the specified point to this line.
|
float |
OMSVGPoint.dotProduct(OMSVGPoint p)
Returns the dot product of this point and the specified point.
|
OMSVGPoint |
OMSVGPoint.floor(OMSVGPoint destination)
Applies the
Math.floor() to the coordinated of this
point and puts the result in the specified destination point. |
int |
OMSVGTextContentElement.getCharNumAtPosition(OMSVGPoint point)
Returns the index of the character whose corresponding glyph cell bounding
box contains the specified point.
|
OMSVGPoint |
OMSVGPointList.initialize(OMSVGPoint newItem)
Clears all existing current items from the list and re-initializes the
list to hold the single item specified by the parameter.
|
OMSVGPoint |
OMSVGPointList.insertItemBefore(OMSVGPoint newItem,
int index)
Inserts a new item into the list at the specified position.
|
OMSVGPoint |
OMSVGLineElement.intersectionPoint(OMSVGPoint p)
Computes the intersection point between this line and the tangent
perpendicular to this line through p.
|
OMSVGPoint |
OMSVGLineElement.intersectionPoint(OMSVGPoint p,
OMSVGPoint destination)
Computes the intersection point between this line and the tangent
perpendicular to this line through p and puts the
result in the specified destination point.
|
float |
OMSVGLineElement.parametricIntersection(OMSVGPoint p)
Computes the intersection point between this line and the tangent
perpendicular to this line through p.
|
OMSVGPoint |
OMSVGPoint.product(OMSVGPoint p)
Multiplies this point by the specified point.
|
OMSVGPoint |
OMSVGPoint.product(OMSVGPoint p,
OMSVGPoint destination)
Multiplies this point by the specified point and puts the
result in the specified destination point.
|
OMSVGPoint |
OMSVGPointList.replaceItem(OMSVGPoint newItem,
int index)
Replaces an existing item in the list with a new item.
|
OMSVGPoint |
OMSVGPoint.round(OMSVGPoint destination)
Applies the
Math.round() to the coordinated of this
point and puts the result in the specified destination point. |
OMSVGPoint |
OMSVGPoint.scale(float f,
OMSVGPoint destination)
Scales this point by the specified factor and puts the
result in the specified destination point.
|
OMSVGPoint |
OMSVGPoint.substract(OMSVGPoint p)
Substracts the specified point from this point.
|
OMSVGPoint |
OMSVGPoint.substract(OMSVGPoint p,
OMSVGPoint destination)
Substracts the specified point to this point and puts the
result in the specified destination point.
|
Constructor and Description |
---|
OMSVGLineElement(OMSVGPoint p1,
OMSVGPoint p2)
Constructor
|
Modifier and Type | Method and Description |
---|---|
OMSVGPoint |
SVGZoomEvent.getNewTranslate()
Returns the translation values that will be in place after the zoom operation
has been processed.
|
OMSVGPoint |
SVGZoomEvent.getPreviousTranslate()
Returns the translation values from previous zoom operations that
were in place before the zoom operation occurred.
|
Modifier and Type | Method and Description |
---|---|
OMSVGPoint |
SVGSVGElement.createSVGPoint()
Creates an
OMSVGPoint object outside of
any document trees. |
OMSVGPoint |
SVGSVGElement.getCurrentTranslate()
On an outermost svg element, the corresponding translation
factor that takes into account user "magnification".
|
OMSVGPoint |
SVGTextContentElement.getEndPositionOfChar(int charnum)
Returns the current text position after rendering the character in the
user coordinate system for rendering the glyph(s) that correspond to the
specified character.
|
OMSVGPoint |
NativeSVGZoomEvent.getNewTranslate()
Returns the translation values that will be in place after the zoom operation
has been processed.
|
OMSVGPoint |
SVGPathElement.getPointAtLength(float distance)
Returns the (x,y) coordinate in user space which is distance
units along the path, utilizing the user agent's distance-along-a-path
algorithm.
|
OMSVGPoint |
NativeSVGZoomEvent.getPreviousTranslate()
Returns the translation values from previous zoom operations that
were in place before the zoom operation occurred.
|
OMSVGPoint |
SVGTextContentElement.getStartPositionOfChar(int charnum)
Returns the current text position before rendering the character in the
user coordinate system for rendering the glyph(s) that correspond to the
specified character.
|
OMSVGPoint |
SVGLineElement.intersectionPoint(OMSVGPoint p)
Computes the intersection point between this line and the tangent
perpendicular to this line through p.
|
OMSVGPoint |
SVGLineElement.intersectionPoint(OMSVGPoint p,
OMSVGPoint destination)
Computes the intersection point between this line and the tangent
perpendicular to this line through p and puts the
result in the specified destination point.
|
Modifier and Type | Method and Description |
---|---|
float |
SVGLineElement.distanceToLine(OMSVGPoint p)
Computes the distance from the specified point to this line.
|
int |
SVGTextContentElement.getCharNumAtPosition(OMSVGPoint point)
Returns the index of the character whose corresponding glyph cell bounding
box contains the specified point.
|
OMSVGPoint |
SVGLineElement.intersectionPoint(OMSVGPoint p)
Computes the intersection point between this line and the tangent
perpendicular to this line through p.
|
OMSVGPoint |
SVGLineElement.intersectionPoint(OMSVGPoint p,
OMSVGPoint destination)
Computes the intersection point between this line and the tangent
perpendicular to this line through p and puts the
result in the specified destination point.
|
float |
SVGLineElement.parametricIntersection(OMSVGPoint p)
Computes the intersection point between this line and the tangent
perpendicular to this line through p.
|
Copyright © 2018. All Rights Reserved.