index of namespace ui
 
 index of project ui
 
 index of module MShapePolyline

Class MShapePolyline.ui::ShapePolyline


Synopsis

  Base classes:
  Functions:
  Methods:
  Constants:

Function AppendArc
Signature
AppendArc(FloatArrayvertices,
  floatx,
  floaty,
  floatw,
  floath,
  intnumSeg,
  intbAddFinal,
  intbFlip 
  )  
Arguments
FloatArrayvertices
floatx
floaty
floatw
floath
intnumSeg
intbAddFinal
intbFlip

 
 top of page
Function AppendDiamond
Signature
AppendDiamond(FloatArrayvertices,
  floatcx,
  floatcy,
  floatrx,
  floatry 
  )  
Arguments
FloatArrayvertices
floatcx
floatcy
floatrx
floatry

 
 top of page
Function AppendEllipse
Signature
AppendEllipse(FloatArrayvertices,
  floatcx,
  floatcy,
  floatrx,
  floatry,
  intnumSeg 
  )  
Arguments
FloatArrayvertices
floatcx
floatcy
floatrx
floatry
intnumSeg

 
 top of page
Function AppendEqualDistVertices
Signature
AppendEqualDistVertices(FloatArraydstVertices,
  FloatArraysrcVertices,
  floatcurveDistP,
  intbClosed 
  )  
Arguments
FloatArraydstVertices
FloatArraysrcVertices
floatcurveDistP
intbClosed

 
 top of page
Function AppendHexagonA
Signature
AppendHexagonA(FloatArrayvertices,
  floatpx,
  floatpy,
  floatsx,
  floatsy,
  floatax,
  floatay 
  )  
Arguments
FloatArrayvertices
floatpx
floatpy
floatsx
floatsy
floatax
floatay

 
 top of page
Function AppendRectangle
Signature
AppendRectangle(FloatArrayvertices,
  floatx,
  floaty,
  floatw,
  floath,
  floatrhombTx,
  floatrhombTy 
  )  
Arguments
FloatArrayvertices
floatx
floaty
floatw
floath
floatrhombTx
floatrhombTy

 
 top of page
Function AppendRoundedRectangle
Signature
AppendRoundedRectangle(FloatArrayvertices,
  floatx,
  floaty,
  floatw,
  floath,
  floatarcW,
  floatarcH,
  intnumArcSeg,
  floatrhombTx,
  floatrhombTy 
  )  
Arguments
FloatArrayvertices
floatx
floaty
floatw
floath
floatarcW
floatarcH
intnumArcSeg
floatrhombTx
floatrhombTy

 
 top of page
Function AppendTriangleAroundRect
Signature
AppendTriangleAroundRect(FloatArrayvertices,
  floatpx,
  floatpy,
  floatsx,
  floatsy,
  floatax,
  floatay 
  )  
Arguments
FloatArrayvertices
floatpx
floatpy
floatsx
floatsy
floatax
floatay

 
 top of page
Function New
Signature
New(FloatArrayvertices,
  intc32,
  floatlineWidth,
  intpattern 
  )  
 :ui::ShapePolyline
Arguments
FloatArrayvertices
intc32
floatlineWidth
intpattern
Returns

 
 top of page
Function RemoveDuplicateVertices
Signature
RemoveDuplicateVertices(FloatArrayvertices,
  intbClosed 
  )  
Arguments
FloatArrayvertices
intbClosed

 
 top of page
Function SubdividePolylineVertices
Signature
SubdividePolylineVertices(FloatArraydstVertices,
  FloatArraysrcVertices,
  floatcurveDistB,
  floatcurveDistP,
  intbClosed 
  )  
Arguments
FloatArraydstVertices
FloatArraysrcVertices
floatcurveDistB
floatcurveDistP
intbClosed

 
 top of page
Method addQuad
Signature
addQuad(Vector2fvLT,
  Vector2fvRT,
  Vector2fvRB,
  Vector2fvLB 
  )  
Arguments
Vector2fvLT
Vector2fvRT
Vector2fvRB
Vector2fvLB

 
 top of page
Method addRoundLineCap_bezier
Signature
addRoundLineCap_bezier(Vector2fvL,
  Vector2fvMiter,
  Vector2fvR,
  intnumDiv,
  FloatArrayouterVerticesOrNull,
  FloatArrayouterWidthsOrNull,
  floatwEndScl 
  )  
Arguments
Vector2fvL
Vector2fvMiter
Vector2fvR
intnumDiv
FloatArrayouterVerticesOrNull
FloatArrayouterWidthsOrNull
floatwEndScl

 
 top of page
Method addRoundLineJoint_bezier
Signature
addRoundLineJoint_bezier(Vector2fvCtr,
  Vector2fvL,
  Vector2fvMiter,
  Vector2fvR,
  intnumDiv,
  FloatArrayouterVerticesOrNull,
  FloatArrayouterWidthsOrNull,
  floatwEndScl 
  )  
Arguments
Vector2fvCtr
Vector2fvL
Vector2fvMiter
Vector2fvR
intnumDiv
FloatArrayouterVerticesOrNull
FloatArrayouterWidthsOrNull
floatwEndScl

 
 top of page
Method addTri
Signature
addTri(Vector2fvLT,
  Vector2fvRT,
  Vector2fvRB 
  )  
Arguments
Vector2fvLT
Vector2fvRT
Vector2fvRB

 
 top of page
Method allocLineVertices
Signature
allocLineVertices(intnum)
 :FloatArray
Arguments
intnum
Returns

 
 top of page
Method allocLineWidths
Signature
allocLineWidths(intnum)
 :FloatArray
Arguments
intnum
Returns

 
 top of page
Method calcAdaptiveWidth
Signature
calcAdaptiveWidth(floatwFactor)
 :float
Arguments
floatwFactor
Returns
float

 
 top of page
Method calcLineWidthArrayFromVertices
Signature
calcLineWidthArrayFromVertices(floatwidthStart,
  floatwidthEnd,
  floatexp 
  )  
Arguments
floatwidthStart
floatwidthEnd
floatexp

 
 top of page
Method draw
Signature
draw()

 
 top of page
Method freeShape
Signature
freeShape()

 
 top of page
Method getAdaptiveWidthMax
Signature
getAdaptiveWidthMax():float
Returns
float

 
 top of page
Method getAdaptiveWidthMin
Signature
getAdaptiveWidthMin():float
Returns
float

 
 top of page
Method getBevelFallbackDistance
Signature
getBevelFallbackDistance():float
Returns
float

 
 top of page
Method getEnableAdaptiveWidth
Signature
getEnableAdaptiveWidth():int
Returns
int

 
 top of page
Method getEnableClosed
Signature
getEnableClosed():int
Returns
int

 
 top of page
Method getEnableLineJoints
Signature
getEnableLineJoints():int
Returns
int

 
 top of page
Method getLineCapType
Signature
getLineCapType():int
Returns
int

 
 top of page
Method getLineJointType
Signature
getLineJointType():int
Returns
int

 
 top of page
Method getLinePattern
Signature
getLinePattern():int
Returns
int

 
 top of page
Method getLineWidth
Signature
getLineWidth():float
Returns
float

 
 top of page
Method getMiterLimit
Signature
getMiterLimit():float
Returns
float

 
 top of page
Method getNumDivRoundLineJoint
Signature
getNumDivRoundLineJoint():int
Returns
int

 
 top of page
Method getOrCreateShapeLeft
Signature
getOrCreateShapeLeft():ui::ShapePolyline
Returns

 
 top of page
Method getOrCreateShapeRight
Signature
getOrCreateShapeRight():ui::ShapePolyline
Returns

 
 top of page
Method getShapeLeft
Signature
getShapeLeft():ui::ShapePolyline
Returns

 
 top of page
Method getShapeRight
Signature
getShapeRight():ui::ShapePolyline
Returns

 
 top of page
Method initShapePolyline
Signature
initShapePolyline()

 
 top of page
Method setAdaptiveWidthMax
Signature
setAdaptiveWidthMax(floatmax)
Arguments
floatmax

 
 top of page
Method setAdaptiveWidthMin
Signature
setAdaptiveWidthMin(floatmin)
Arguments
floatmin

 
 top of page
Method setBevelFallbackDistance
Signature
setBevelFallbackDistance(floatf)
Arguments
floatf

 
 top of page
Method setEnableAdaptiveWidth
Signature
setEnableAdaptiveWidth(intbEnable)
Arguments
intbEnable

 
 top of page
Method setEnableClosed
Signature
setEnableClosed(intbEnable)
Arguments
intbEnable

 
 top of page
Method setEnableLineJoints
Signature
setEnableLineJoints(intbEnable)
Arguments
intbEnable

 
 top of page
Method setLineCapType
Signature
setLineCapType(inttype)
Arguments
inttype

 
 top of page
Method setLineJointType
Signature
setLineJointType(inttype)
Arguments
inttype

 
 top of page
Method setLinePattern
Signature
setLinePattern(intpattern)
Arguments
intpattern

 
 top of page
Method setLineVertices
Signature
setLineVertices(Objecta)
Arguments
Objecta

 
 top of page
Method setLineVerticesRef
Signature
setLineVerticesRef(FloatArraya)
Arguments

 
 top of page
Method setLineWidth
Signature
setLineWidth(floatw)
Arguments
floatw

 
 top of page
Method setLineWidthArray
Signature
setLineWidthArray(FloatArraya)
Arguments

 
 top of page
Method setLineWidthArrayRef
Signature
setLineWidthArrayRef(FloatArraya)
Arguments

 
 top of page
Method setMiterLimit
Signature
setMiterLimit(floatf)
Arguments
floatf

 
 top of page
Method setNumDivRoundLineJoint
Signature
setNumDivRoundLineJoint(intnum)
Arguments
intnum

 
 top of page
Method tesselate
Signature
tesselate()

 
 top of page
Method tesselatePolyline
Signature
tesselatePolyline(FloatArrayvertices,
  FloatArraywidths,
  intbClosed,
  intpattern 
  )  
Arguments
FloatArrayvertices
FloatArraywidths
intbClosed
intpattern

 
 top of page
Constant LINE_CAP_BUTT (int)
Constant LINE_CAP_NONE (int)
Constant LINE_CAP_ROUND (int)
Constant LINE_CAP_SQUARE (int)
Constant LINE_JOINT_BEVEL (int)
Constant LINE_JOINT_MITER (int)
Constant LINE_JOINT_NONE (int)
Constant LINE_JOINT_ROUND (int)
Constant NUM_LINE_CAP_TYPES (int)
Constant NUM_LINE_JOINT_TYPES (int)

 

Project Modules:MAbstractXMLForm , MAcceleratorKey , MAcceleratorList , MAction , MActionConsumer , MActionProvider , MBezier01Edit , MBezierEdit , MButton , MCharFilter , MCharFilterBinary255Expr , MCharFilterFloat , MCharFilterFloatExpr , MCharFilterHex , MCharFilterHexExpr , MCharFilterHexShort , MCharFilterHexShortExpr , MCharFilterUFix16 , MCheckBox , MChoiceDialog , MCmdProvider , MColorBox , MColorButton , MComboBox , MComboBoxPopup , MComboBoxTM , MComboField , MComposite , MControl , MCursorShapes , MDial , MDialog , MDragHandleLabel , MDynamicPopupMenuAction , MFBO , MFloatAction , MFloatField , MFloatingLayer , MFloatParam , MFloatParamDialog , MFloatParamEditor , MFlowLayout , MFont , MFontCache , MFontResource , MForm , MFT2Face , MFT2FontResource , MFT2Glyph , MGeometry4f , MGraph , MGraphForm , MGridLayout , MHiddenPanel , MHSVColorPicker , MIcon , MIconCache , MInfoDialog , MIntAction , MKeyAction , MKeyboardMonitor , MKeyHelpDialog , MLabel , MLayer , MLayerSwitch , MLayout , MLogger , MLookAndFeel , MLookAndFeel_Dark , MLookAndFeel_Light , MLookAndFeel_Mono , MMouseEvent , MObjectAction , MOpaquePanel , MPanel , MPNGIcon , MPopupMenu , MPopupMenuBar , MPopupMenuBarButton , MPopupMenuButton , MPopupMenuCheckButton , MPopupMenuFolderButton , MPopupMenuSeparator , MPopupMenuWindowDock , MRadioButton , MRadioButtonGroup , MRectangle2f , MRepeatButton , MScroller , MScrollPane , MShader , MShader_ColorGrading , MShader_GradientH , MShader_GradientR , MShader_GradientV , MShader_InvertColor , MShader_PatternFill , MShader_PatternGradientH , MShader_PatternGradientR , MShader_PatternGradientV , MShader_SharpenFilter , MShader_SharpenFilterAndColorGrading , MShape , MShapePolyline , MSizeGroup , MSizeGroupX , MSizeGroupXY , MSizeGroupY , MSlider , MSpacer , MSplitPane , MStatusBar , MStringAction , MStringDialog , MSuperBorderLayout , MTableCellEditor , MTableCellEditorCheckBox , MTableCellEditorComboBox , MTableCellEditorFloatParam , MTableCellEditorString , MTableModel , MTableView , MTableViewData , MTableViewHeader , MTabSwitch , MTextEdit , MTextEditDialog , MTextField , MTextFieldIncDec , MTextInputDialog , MTextView , MTimerAction , MTitledPanel , MToolTip , MTransparentPanel , MTreeTableModel , MTreeTableNode , MUI , MUIConstants , MUIPluginLoader , MUIRenderer , MUserDataContainer , MValueAction , MView , MViewPane , MWindow , MWindowDock , MWindowTitleBar , MXFMObject , MXMLForm , MXYPad 
Project Classes:CmdProvider , ColorBox , graph::AttribsBase , graph::BBox , graph::Canvas , graph::Cell , graph::Edge , graph::GR , graph::Graph , graph::GRGradient , graph::GRPalette , graph::GRParseContext , graph::GRStyle , graph::GRUtils , graph::Node , graph::Port , graph::PortsBase , HSVColorPicker , ui::AbstractXMLForm , ui::AcceleratorKey , ui::AcceleratorList , ui::Action , ui::ActionConsumer , ui::ActionProvider , ui::Bezier01Edit , ui::BezierEdit , ui::BezierEditState , ui::BezierHistory , ui::BezierLUT01 , ui::BorderLayout , ui::Button , ui::CharFilter , ui::CharFilterBinary255Expr , ui::CharFilterFloat , ui::CharFilterFloatExpr , ui::CharFilterHex , ui::CharFilterHexExpr , ui::CharFilterHexShort , ui::CharFilterHexShortExpr , ui::CharFilterUFix16 , ui::CheckBox , ui::ChoiceDialog , ui::ColorButton , ui::ComboBox , ui::ComboBoxPopup , ui::ComboBoxTM , ui::ComboField , ui::Composite , ui::Control , ui::CursorShapes , ui::Dial , ui::Dialog , ui::DragHandleLabel , ui::DynamicPopupMenuAction , ui::FBO , ui::FloatAction , ui::FloatField , ui::FloatingLayer , ui::FloatParam , ui::FloatParamDialog , ui::FloatParamEditor , ui::FlowLayout , ui::Font , ui::FontCache , ui::FontResource , ui::Form , ui::FT2Face , ui::FT2FontResource , ui::FT2Glyph , ui::FT2LocalFileFontResource , ui::FT2PakFileFontResource , ui::Geometry4f , ui::GraphEdge , ui::GraphEdgeArrow , ui::GraphForm , ui::GraphPortButton , ui::GridLayout , ui::HiddenPanel , ui::Icon , ui::IconCache , ui::InfoDialog , ui::IntAction , ui::KeyAction , ui::KeyboardFocusListener , ui::KeyboardMonitor , ui::KeyboardMonitorEntry , ui::KeyHelpButton , ui::KeyHelpDialog , ui::KeyHelpToolTip , ui::KeyRepeatAction , ui::KeyRepeatConsumer , ui::Label , ui::Layer , ui::LayerSwitch , ui::Layout , ui::Logger , ui::LookAndFeel , ui::LookAndFeelDefs , ui::LookAndFeel_Dark , ui::LookAndFeel_Light , ui::LookAndFeel_Mono , ui::MouseEvent , ui::MouseHoldAction , ui::MouseHoldConsumer , ui::ObjectAction , ui::OpaquePanel , ui::Panel , ui::PNGIcon , ui::PopupMenu , ui::PopupMenuBar , ui::PopupMenuBarButton , ui::PopupMenuButton , ui::PopupMenuCheckButton , ui::PopupMenuFolderButton , ui::PopupMenuRadioButton , ui::PopupMenuSeparator , ui::PopupMenuWindowDock , ui::RadioButton , ui::RadioButtonGroup , ui::Rectangle2f , ui::RepeatButton , ui::Scroller , ui::ScrollPane , ui::Shader , ui::Shader_ColorGrading , ui::Shader_GradientH , ui::Shader_GradientR , ui::Shader_GradientV , ui::Shader_InvertColor , ui::Shader_PatternFill , ui::Shader_PatternGradientH , ui::Shader_PatternGradientR , ui::Shader_PatternGradientV , ui::Shader_SharpenFilter , ui::Shader_SharpenFilterAndColorGrading , ui::Shape , ui::ShapePolyline , ui::SizeGroup , ui::SizeGroupX , ui::SizeGroupXY , ui::SizeGroupY , ui::Slider , ui::Spacer , ui::SplitPane , ui::StatusBar , ui::StatusBarListener , ui::StatusBarMessage , ui::StringAction , ui::StringDialog , ui::StringDialogTextField , ui::SuperBorderLayout , ui::TableCellEditor , ui::TableCellEditorCheckBox , ui::TableCellEditorComboBox , ui::TableCellEditorFloatParam , ui::TableCellEditorString , ui::TableGraphPanel , ui::TableModel , ui::TableView , ui::TableViewData , ui::TableViewHeader , ui::TabSwitch , ui::TabSwitchLabelPanel , ui::TextEdit , ui::TextEditDialog , ui::TextEditPlugin , ui::TextEditUndoEntry , ui::TextField , ui::TextFieldIncDec , ui::TextInputDialog , ui::TextView , ui::TextViewSyntaxHighlighter , ui::TimerAction , ui::TitledPanel , ui::ToolTip , ui::TransparentPanel , ui::TreeTableModel , ui::TreeTableNode , ui::TriadKeyConsumer , ui::UI , ui::UIConstants , ui::UIRenderer , ui::UserDataContainer , ui::ValueAction , ui::View , ui::ViewPane , ui::Window , ui::WindowDock , ui::WindowTitleBar , ui::XFMObject , ui::XMLForm , ui::XYPad 
Project Functions:getTableViewStepCoarse , Screen_onApplicationActive , Screen_onClose , Screen_onDrainEventQueue , Screen_onDraw , Screen_onDropFiles , Screen_onExpose , Screen_onInputFocusActive , Screen_onKeyboard , Screen_onMouse , Screen_onMouseFocusActive , Screen_onMoveWindow , Screen_onOpen , Screen_onResize , Screen_onTimer , SetDebugLevel , SetDebugLevel , SetEnableProfiling 
All Namespaces:default , graph , ui 
All Projects:core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest 


auto-generated by "DOG", the TkScript document generator. Thu, 11/Dec/2025 13:42:00