%ZEN.SVGComponent.svgCanvas
deprecated class %ZEN.SVGComponent.svgCanvas extends %ZEN.SVGComponent.svgFrame
This is a specialized type of %ZEN.SVGComponent.svgFrame that can contain a set of sprite objects.This provides the basics needed for an svg-based graphical editor.
Property Inventory
Method Inventory
Properties
property connectors as list of connector (XMLPROJECTION = "NONE");
List of connectors on this canvas.
Property methods: connectorsBuildValueArray(), connectorsCollectionToDisplay(), connectorsCollectionToOdbc(), connectorsDisplayToCollection(), connectorsGet(), connectorsGetObject(), connectorsGetObjectId(), connectorsGetSwizzled(), connectorsIsValid(), connectorsOdbcToCollection(), connectorsSet(), connectorsSetObject(), connectorsSetObjectId()
property rulerHeight as %ZEN.Datatype.float [ InitialExpression = 11.0 ];
Height of vertical ruler. This value is multiplied
with rulerMajor to get the actual size.
Property methods: rulerHeightDisplayToLogical(), rulerHeightGet(), rulerHeightIsValid(), rulerHeightLogicalToDisplay(), rulerHeightLogicalToOdbc(), rulerHeightNormalize(), rulerHeightSet()
property rulerMajor as %ZEN.Datatype.integer [ InitialExpression = 100 ];
Number of units per major ruler tick mark.
This must be a multiple of rulerMinor
or no major tick marks will show.
Property methods: rulerMajorDisplayToLogical(), rulerMajorGet(), rulerMajorIsValid(), rulerMajorLogicalToDisplay(), rulerMajorLogicalToOdbc(), rulerMajorNormalize(), rulerMajorSet()
property rulerMinor as %ZEN.Datatype.integer [ InitialExpression = 25 ];
Number of units per minor ruler tick mark.
Property methods: rulerMinorDisplayToLogical(), rulerMinorGet(), rulerMinorIsValid(), rulerMinorLogicalToDisplay(), rulerMinorLogicalToOdbc(), rulerMinorNormalize(), rulerMinorSet()
property rulerStyle as %ZEN.Datatype.style [ InitialExpression = "stroke:gray;" ];
CSS style used to draw rulers.
Property methods: rulerStyleDisplayToLogical(), rulerStyleGet(), rulerStyleIsValid(), rulerStyleLogicalToDisplay(), rulerStyleLogicalToOdbc(), rulerStyleNormalize(), rulerStyleSet()
property rulerWidth as %ZEN.Datatype.float [ InitialExpression = 8.5 ];
Width of vertical ruler. This value is multiplied
with rulerMajor to get the actual size.
Property methods: rulerWidthDisplayToLogical(), rulerWidthGet(), rulerWidthIsValid(), rulerWidthLogicalToDisplay(), rulerWidthLogicalToOdbc(), rulerWidthNormalize(), rulerWidthSet()
property showRulers as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, display rulers along the left and top of this canvas.
Property methods: showRulersDisplayToLogical(), showRulersGet(), showRulersIsValid(), showRulersLogicalToDisplay(), showRulersLogicalToOdbc(), showRulersLogicalToXSD(), showRulersNormalize(), showRulersSet(), showRulersXSDToLogical()
Methods
clientmethod canDragShapes() [ Language = javascript ]
Return true if shapes can be dragged on this frame.
clientmethod createConnector(type) [ Language = javascript ]
Create a new connector on this canvas and return it.
clientmethod createSprite(type, x, y) [ Language = javascript ]
Create a new sprite on this canvas and return it.
clientmethod drawRulers() [ Language = javascript ]
Draw set of rulers.
clientmethod setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.
clientmethod svgLoadHandler(win) [ Language = javascript ]
Notification that the embedded SVG page is loaded.
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- align
- aux
- backgroundStyle
- children
- composite
- containerStyle
- disabled
- document
- dragCanvas
- dragEnabled
- dropEnabled
- editMode
- enclosingClass
- enclosingStyle
- error
- frameStyle
- gridX
- gridY
- height
- hidden
- hint
- hintClass
- hintStyle
- id
- index
- label
- labelClass
- labelDisabledClass
- labelStyle
- layout
- name
- offsetX
- offsetY
- onafterdrag
- onbeforedrag
- ondrag
- ondragCanvas
- ondrop
- onhide
- onmouseWheel
- onmoveItem
- onrefresh
- onresizeItem
- onselectItem
- onshow
- onupdate
- onzoom
- parameters
- parent
- selectedItem
- selectedItems
- showLabel
- slice
- snapToGrid
- svgAutoSize
- svgGroup
- svgHeight
- svgPage
- svgRoot
- svgWidth
- svgWindow
- title
- tuple
- valign
- visible
- width
- window
- zoom
- zoomLevels
- zoomWithWheel
Inherited Methods
- %AddChild()
- %AddToSaveSet()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawComponentHTML()
- %DrawHTML()
- %DrawJSStrings()
- %EnclosingDivId()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetEventHandlers()
- %GetParameter()
- %GetXMLName()
- %IsA()
- %IsModified()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnDrawEnclosingDiv()
- %OnDrawObjectProperties()
- %OnObjectSynch()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveChild()
- %RemoveFromSaveSet()
- %Self()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- exposeComponent()
- findElement()
- fireOnUpdateEvent()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getProperty()
- getSVGDocument()
- getSelectedItem()
- getSelectedItems()
- getSettings()
- getType()
- getZoomIndex()
- invokeSuper()
- isOfType()
- isSelected()
- layoutChildren()
- makeId()
- mousedownHandler()
- mousemoveHandler()
- mouseupHandler()
- mousewheelHandler()
- moveItem()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onStartModalHandler()
- onloadHandler()
- onunloadHandler()
- onupdateHandler()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- selectItem()
- selectItemHandler()
- setEditMode()
- setHidden()
- setOffsets()
- setOverlayMode()
- setPropertyAll()
- setZoom()
- setZoomIndex()
- startDragCanvas()
- startMove()
- startProgressBar()
- startResize()
- stopProgressBar()
- zoomIn()
- zoomOut()