Usages of Size
Properties
size | in Rect | Gets the size of this instance. | |
folderNodeSize | in DefaultFolderNodeConverter | Sets the initial size of the layout of the collapsed group node that will be assigned during the creation of the appearance of the collapsed group node. | |
preferredSize | in FoldingLabelState | Gets or sets the preferred size of the label. | |
preferredSize | in ILabel | Gets the preferred size of the label with respect to its current contents and the implementation of the visualization. | |
size | in INodeDefaults | Gets or sets the default node size. | |
size | in NodeDefaults | ||
preferredSize | in SimpleLabel | Gets or sets the preferred size of the label with respect to its current contents and the implementation of the visualization. | |
preferredSize | in LabelEditingEventArgs | Gets or sets the preferredSize of the label to add. | |
mouseHoverSize | in MouseHoverInputMode | Gets or sets the amount the mouse pointer has to move in order to hide the tooltip. | |
sizeChangeFactor | in ReshapeRectangleContext | Gets the factor by which the size of the node layout changes when the handle is dragged. | |
edgePortNodeSize | in LayoutExecutorAsync | Gets or sets the size of the nodes that are inserted for the ports that are created for IEdges that are connected at other IEdges. | |
edgePortNodeSize | in LayoutGraphAdapter | Gets or sets the size of the nodes that are inserted for the ports that are created for IEdges that are connected at other IEdges. | |
maximumSize | in DefaultLabelStyle | Gets or sets the maximum preferred size allowed for the label. | |
minimumSize | in DefaultLabelStyle | Gets or sets the minimum preferred size allowed for the label. | |
minimumContentAreaSize | in GroupNodeStyle | Gets or sets the minimum size of the content area. | |
iconSize | in IconLabelStyle | Gets or sets the size of the icon to paint for the label. | |
renderSize | in NodeStylePortStyleAdapter | Gets or sets the size of the port's visualization. | |
preferredSize | in TemplateLabelStyleBase | Gets or sets the preferred size of the labels that use this style. | |
minimumSize | in TemplateNodeStyleBase | Gets or sets the minimum size an INodeSizeConstraintProvider implementation for INode should yield. | |
renderSize | in TemplatePortStyleBase | Gets or sets the size of the port that will be displayed using the created visual. | |
doubleClickSize | in CanvasComponent | Gets or sets the area in view coordinates the mouse needs to stay in before multiple clicks are considered multiple single clicks instead of multi-clicks. | |
doubleTapSize | in CanvasComponent | Gets or sets the area in view coordinates the touch pointer needs to stay in before multiple taps are considered multiple single taps instead of multi-taps. | |
dragSize | in CanvasComponent | Gets or sets the area in view coordinates the mouse may stay in before a movement is considered a drag. | |
dragSizeTouch | in CanvasComponent | Gets or sets the area in view coordinates the touch point may stay in before a movement is considered a drag. | |
innerSize | in CanvasComponent | Gets the size of the usable area in which the graph will be displayed. | |
size | in CanvasComponent | Returns the size of the HTML element. | |
size | in PatternFill | Gets or sets the size of this pattern brush. | |
oldSize | in SizeChangedEventArgs | Gets or sets the old size of the control. | |
desiredSize | in ToolTip | Gets the desired size of this tooltip. |
Fields
EMPTY | in Size | The "empty" size that has width and height set to -1.0d . | |
INFINITE | in Size | The "infinite" size that has width and height set to Number.POSITIVE_INFINITY. | |
ZERO | in Size | The "zero" size that has width and height set to 0.0d . |
Method Return Values
toSize () | in YDimension | Creates a Size from a given YDimension. | |
getPreferredSize (TDataItem) | in LabelCreator | Obtains a preferredSize or null by resolving the preferredSizeProvider on the data item. | |
getUpdatedPreferredSize (IGraph, ILabel, TDataItem) | in LabelCreator | Resolves the preferredSizeProvider and then applies the preferred size bindings. | |
from (Size) | in ISize | Creates a Size instance from the given size-like object by performing automatic type conversion. | |
toSize () | in ISize | Converts the ISize to a Size struct. | |
convertFrom (MutableSize) | in Size | Performs an implicit conversion from MutableSize to Size. | |
from (Size) | in Size | Creates a Size instance from the given size-like object by performing automatic type conversion. | |
max (Size, Size) | in Size | Returns a size whose width and height are the respective maximum of the two provided Size instances. | |
min (Size, Size) | in Size | Returns a size whose width and height are the respective minimum of the two provided Size instances. | |
multiply (number) | in Size | Multiplies the width and height by the given factor and returns the result. | |
createPreferredLabelSize (ILabel) | in DefaultFolderNodeConverter | Gets the preferred size for use in initializeFolderNodeLabels and synchronizeLabels. | |
createPreferredLabelSize (ILabel) | in FoldingEdgeConverterBase | Gets the preferred size for use in initializeFoldingEdgeLabels and synchronizeLabels. | |
calculateLabelPreferredSize (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Object?) | in IGraph | Calculates the preferred size of a label with the given properties. | |
calculateLabelPreferredSize (IStripe, ILabelStyle, ILabelModelParameter, string, Object) | in ITable | Calculates the preferred size of a label with the given properties. | |
getMinimumNodeSize (ILabel, ILabelModelParameter) | in InteriorLabelModel | Returns the minimum size this model would require for the node owner of the label if the given label was used with the provided parameter. | |
getMinimumNodeSize (ILabel, ILabelModelParameter) | in InteriorStretchLabelModel | Returns the minimum size this model would require for the node owner of the label if the the given label was used with the provided parameter. | |
getPreferredSize (IInputModeContext, ILabel) | in EditLabelHelper | Gets the preferred size for the label. | |
getMaximumSize (INode) | in INodeSizeConstraintProvider | Returns the maximum size allowed for the given node . | |
getMinimumSize (INode) | in INodeSizeConstraintProvider | Returns the minimum size allowed for the given node . | |
getMaximumSize (INode) | in NodeSizeConstraintProvider | ||
getMinimumSize (INode) | in NodeSizeConstraintProvider | ||
calculateMaxTextBoxSize () | in TextEditorInputMode | Calculates the maximum size for this instance. | |
getButtonSize () | in CollapsibleNodeStyleDecoratorRenderer | Returns the size of new buttons. | |
getPreferredSize (ILabel, ILabelStyle) | in DefaultLabelStyleRenderer | ||
getPreferredSizeCore () | in DefaultLabelStyleRenderer | Calculates the preferred size given the current state of the renderer. | |
measureText (string, Font, Size) | in DefaultLabelStyleRenderer | Calculate the width and height required to render the provided text using the provided Font. | |
quantizePreferredSize (Size) | in DefaultLabelStyleRenderer | Quantizes the result of the preferred size calculation. | |
getMinimumContentAreaSize () | in GroupNodeStyleRenderer | Gets the minimum content area size that is currently used by this renderer. | |
getPreferredSize (ILabel, ILabelStyle) | in ILabelStyleRenderer | Calculates the preferred size of a given label using the associated style. | |
getIconSize () | in IconLabelStyleRenderer | Gets the size of the icon from the iconSize property. | |
getPreferredSize (ILabel, ILabelStyle) | in IconLabelStyleRenderer | ||
getPreferredSizeCore () | in IconLabelStyleRenderer | Calculates the preferred size given the current state of the renderer. | |
getPreferredSize (ILabel) | in LabelStyleBase | Returns the preferred size of the label. | |
measureText (string, Font, Size) | in MarkupLabelStyleRenderer | ||
getPreferredSize (IRenderContext, ILabel) | in TemplateLabelStyleBase | Determines the preferred size of the label if this style was applied. | |
getPreferredSize (ILabel, ILabelStyle) | in TemplateLabelStyleRenderer | Calculates the preferred size for the given label and style. | |
getPreferredSizeCore (IRenderContext) | in TemplateLabelStyleRenderer | Gets the size of the preferred for the current configuration using the provided context. | |
getPreferredSizeWithContext (IRenderContext, ILabel, ILabelStyle) | in TemplateLabelStyleRenderer | Calculates the preferred size for the given label and style. | |
getMinimumSize (TemplateNodeStyleBase) | in TemplateNodeStyleRenderer | Gets the minimum size by delegating to minimumSize. | |
getRenderSize () | in TemplatePortStyleRenderer | Gets the size of the rendering from the style. | |
measureText (string, Font, Size?, TextWrapping?, TextMeasurePolicy?) | in TextRenderSupport | Calculates the width and height required to render the provided text using the provided Font, taking text-wrapping into account. | |
getPreferredSize (ILabel, ILabelStyle) | in VoidLabelStyleRenderer | Yields EMPTY. |
Method Parameters
addLabelCore (IGraph, ILabelOwner, string, ILabelModelParameter, ILabelStyle, Size, Object) | in LabelCreator | Called from addLabel and performs the actual label creation in the graph. | |
from (Size) | in ISize | Creates a Size instance from the given size-like object by performing automatic type conversion. | |
MutableRectangle (Point, Size) | in MutableRectangle | Creates a new instance using the provided values to initialize the position and size. | |
Rect (Point, Size) | in Rect | Initializes a new instance using the topLeft corner and the size. | |
convertToMutableSize (Size) | in Size | Performs an explicit conversion from Size to MutableSize. | |
from (Size) | in Size | Creates a Size instance from the given size-like object by performing automatic type conversion. | |
max (Size, Size) | in Size | Returns a size whose width and height are the respective maximum of the two provided Size instances. | |
min (Size, Size) | in Size | Returns a size whose width and height are the respective minimum of the two provided Size instances. | |
DefaultFolderNodeConverter () | in DefaultFolderNodeConverter | Initializes a new instance of this class with default values. | |
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?) | in DefaultGraph | ||
createUndoUnitForPreferredSizeChange (ILabel, Size) | in DefaultGraph | Creates the undo unit for changing the preferred size of the given label. | |
onChangingLabelPreferredSize (ILabel, Size) | in DefaultGraph | Called before the preferred size of a label is being changed. | |
onLabelPreferredSizeChanged (ILabel, Size) | in DefaultGraph | Called after the preferred size of a label has changed. | |
setLabelPreferredSize (ILabel, Size) | in DefaultGraph | ||
addLabel (string, ILabelModelParameter, ILabelStyle, Size, Object) | in FolderNodeState | ||
addLabel (string, ILabelModelParameter, ILabelStyle, Size, Object) | in FoldingEdgeState | ||
addLabel (string, ILabelModelParameter, ILabelStyle, Size, Object) | in FoldingLabelOwnerState | Adds a FoldingLabelState to this state. | |
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?) | in GraphWrapperBase | ||
onLabelPreferredSizeChanged (ItemChangedEventArgs<ILabel,Size>) | in GraphWrapperBase | Raises the LabelPreferredSizeChanged event | |
setLabelPreferredSize (ILabel, Size) | in GraphWrapperBase | ||
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?) | in IGraph | Add a label to the given node or edge using the text as the initial label text and label model parameter, style and tag. | |
setLabelPreferredSize (ILabel, Size) | in IGraph | Sets the preferred size of the label. | |
addLabel (IStripe, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?) | in ITable | Add a label to the given owner using the text as the initial label text and label model parameter and style. | |
setLabelPreferredSize (ILabel, Size) | in ITable | Sets the preferred size of the label. | |
NodeDefaults () | in NodeDefaults | Initializes a new instance of the NodeDefaults class using default properties. | |
SimpleLabel (ILabelOwner?, string?, ILabelModelParameter?, ) | in SimpleLabel | Creates an instance of the SimpleLabel class with default lookup, an instance of VoidLabelStyle and the given parameter, text, and owner. | |
addLabel (IStripe, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?) | in Table | ||
setLabelPreferredSize (ILabel, Size) | in Table | Sets the preferred size of the label. | |
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?) | in GraphEditorInputMode | Adds a label to the given labelOwner after the textEditorInputMode has successfully finished editing after addLabel. | |
MouseHoverInputMode (function(Object, ToolTipQueryEventArgs):void?, ) | in MouseHoverInputMode | Creates a new instance using the provided optional text provider. | |
getNodeLayout (Point, Size) | in NodeDropInputMode | Calculates the layout of the new node. | |
ReshapeRectangleContext (Rect, ISize, ISize, IRectangle, IRectangle, HandlePositions, Point, Point, Size, ReshapePolicy, number) | in ReshapeRectangleContext | Initializes a new instance of the ReshapeRectangleContext class. | |
getPreviewTableLayout (Point, Size) | in StripeDropInputMode | Calculates the layout of the new table. | |
adjustSize (Size) | in TextEditorInputMode | Adjusts the size of the text box in the editorContainer. | |
LayoutExecutorAsync (function(Object):Promise<Object>, GraphComponent, LayoutDescriptor?, LayoutData?, ) | in LayoutExecutorAsync | Creates a new instance of a layout execution helper that will asynchronously perform the calculations and optionally animate the layout on the given graphComponent . | |
LayoutExecutorAsync (function(Object):Promise<Object>, IGraph, LayoutDescriptor?, LayoutData?, ) | in LayoutExecutorAsync | Creates a new instance of a layout execution helper that will asynchronously perform the calculations and apply the results on the provided graph . | |
LayoutGraphAdapter (IGraph?, ISelectionModel<IModelItem>?, ) | in LayoutGraphAdapter | Creates the adapter using a given IGraph and ISelectionModel<T>. | |
createButton (IRenderContext, boolean, Size) | in CollapsibleNodeStyleDecoratorRenderer | Creates the button visual. | |
updateButton (IRenderContext, boolean, Size, Visual) | in CollapsibleNodeStyleDecoratorRenderer | Updates the button visual. | |
DefaultLabelStyle () | in DefaultLabelStyle | Creates a new instance using DefaultLabelStyleRenderer as renderer. | |
DefaultLabelStyle (ILabelStyleRenderer, ) | in DefaultLabelStyle | Creates a new instance using the provided renderer. | |
addTextElements (SVGElement, Font, string, Size, TextWrapping, boolean) | in DefaultLabelStyleRenderer | Add the text content to the provided SVG text element. | |
measureText (string, Font, Size) | in DefaultLabelStyleRenderer | Calculate the width and height required to render the provided text using the provided Font. | |
quantizePreferredSize (Size) | in DefaultLabelStyleRenderer | Quantizes the result of the preferred size calculation. | |
GroupNodeStyle (GroupNodeStyleRenderer?, ) | in GroupNodeStyle | Initializes a new instance using the given renderer. | |
IconLabelStyle (string?, ILabelStyleRenderer?, ) | in IconLabelStyle | Creates a new instance using the provided icon and renderer. | |
MarkupLabelStyle () | in MarkupLabelStyle | Creates a new instance using MarkupLabelStyleRenderer as renderer. | |
MarkupLabelStyle (ILabelStyleRenderer, ) | in MarkupLabelStyle | Creates a new instance using the provided renderer. | |
addTextElements (SVGElement, Font, string, Size, TextWrapping, boolean) | in MarkupLabelStyleRenderer | ||
measureText (string, Font, Size) | in MarkupLabelStyleRenderer | ||
NodeStylePortStyleAdapter (INodeStyle?, ) | in NodeStylePortStyleAdapter | Creates a port style that uses the provided node style to render the port. | |
StringTemplateLabelStyle (string?, TemplateLabelStyleRenderer?, ) | in StringTemplateLabelStyle | Creates a new instance using the provided renderer. | |
StringTemplateNodeStyle (string?, TemplateNodeStyleRenderer?, ) | in StringTemplateNodeStyle | Creates a new instance using the given SVG template and a custom renderer instance. | |
StringTemplatePortStyle (string?, TemplatePortStyleRenderer?, ) | in StringTemplatePortStyle | Creates a new instance using the provided renderer. | |
TemplateLabelStyle (string?, TemplateLabelStyleRenderer?, ) | in TemplateLabelStyle | Creates a new instance using the given render template id and a custom renderer instance. | |
TemplateNodeStyle (string?, TemplateNodeStyleRenderer?, ) | in TemplateNodeStyle | Creates a new instance using the given render template id and a custom renderer instance. | |
TemplatePortStyle (string?, TemplatePortStyleRenderer?, ) | in TemplatePortStyle | Creates a new instance using the given render template id and a custom renderer instance. | |
addText (SVGGElement | SVGTextElement, string, Font, Size?, TextWrapping?, TextMeasurePolicy?, boolean?, GeneralPath?) | in TextRenderSupport | Add the text content to the provided SVG text element. | |
measureText (string, Font, Size?, TextWrapping?, TextMeasurePolicy?) | in TextRenderSupport | Calculates the width and height required to render the provided text using the provided Font, taking text-wrapping into account. | |
fireSizeChanged (Size) | in CanvasComponent | Fires the size changed event. | |
GraphComponent (HTMLDivElement, ) | in GraphComponent | Creates a new instance of the GraphComponent in the given div element. | |
GraphComponent () | in GraphComponent | Creates a new instance of the GraphComponent. | |
GraphComponent (string, ) | in GraphComponent | Creates a new instance of GraphComponent using the div element that is specified by the selector . |