API¶
- ASync
- Base
- Base methods and types.
- GetMem
- AllocMem
- FreeMem
- ReallocMem
- FillMem
- Move
- CompareMem
- Assigned
- Delete
- Insert
- Copy
- SetLength
- Low
- High
- Length
- WriteLn
- Write
- Swap
- SizeOf
- ToString
- ToStr
- Inc
- Dec
- Ord
- SleepUntil
- Default
- Sort
- Sorted
- Unique
- Reverse
- Reversed
- IndexOf
- IndicesOf
- Contains
- GetCallerAddress
- GetCallerName
- GetCallerLocation
- GetCallerLocationStr
- GetExceptionLocation
- GetExceptionLocationStr
- GetExceptionMessage
- GetScriptMethodName
- DumpCallStack
- Variant.VarType
- Variant.IsNumeric
- Is integer or float?
- Variant.IsString
- Variant.IsInteger
- Variant.IsFloat
- Variant.IsBoolean
- Variant.IsVariant
- The variant holds another variant!
- Variant.IsAssigned
- Variant.IsNull
- Variant.NULL
- Color Math
- Colors and conversion into different formats.
- EColorSpace
- Enum of color spaces Simba supports.
Note:: This enum is scoped, which means it must be used like:
EColorSpace.HSL
, orEColorSpace.RGB
etc. - TColorRGB.ToXYZ
- TColorRGB.ToLAB
- TColorRGB.ToLCH
- TColorRGB.ToHSV
- TColorRGB.ToHSL
- TColorRGB.ToColor
- TColor.ToBGRA
- TColor.ToRGB
- TColor.ToXYZ
- TColor.ToLAB
- TColor.ToLCH
- TColor.ToHSV
- TColor.ToHSL
- TColorHSL.ToRGB
- TColorHSL.ToColor
- TColorHSV.ToRGB
- TColorHSV.ToColor
- TColorXYZ.ToRGB
- TColorXYZ.ToColor
- TColorLAB.ToRGB
- TColorLAB.ToColor
- TColorLCH.ToRGB
- TColorLCH.ToColor
- ColorIntensity
- ColorToGray
- ColorToRGB
- ColorToBGRA
- ColorToHSL
- ColorToHSV
- ColorToXYZ
- ColorToLAB
- ColorToLCH
- SimilarColors
- SimilarColors
- ColorDistance
- ColorDistance
- GetBestColor
- TColor.R
- Return the red channel value of a TColor
- TColor.G
- Return the green channel value of a TColor
- TColor.B
- Return the blue channel value of a TColor
- Colors
- DTM
- Debug Image
- Encoding
- Encoding & Hashing
- HashAlgo
- BaseEncoding
- HashData
- HashString
- HashFile
- Hash32
- Hash32
- Hash64
- Hash64
- BaseEncode
- BaseDecode
- HOTPCalculateToken
- TOTPCalculateToken
- CompressBytes
- DecompressBytes
- CompressString
- DecompressBytes
- SynLZCompress
- SynLZDecompress
- SynLZCompressDestLen
- SynLZDecompressDestLen
- FastCompressImage
- FastDeCompressImages
- File
- File, Path, Directory related methods.
- INIFileWrite
- INIFileRead
- INIFileDelete
- INIFileKeys
- INIFileSections
- ZipExtract
- ZipExtractEntries
- ZipExtractEntry
- ZipFiles
- ZipReadEntries
- FileAppend
- FileWrite
- FileCopy
- FileRename
- FileDelete
- FileRead
- FileReadEx
- FileReadLines
- FileReadBytes
- FileReadBytesEx
- FileWriteBytes
- FileAppendBytes
- FileCreate
- FileExists
- FileCreationTime
- FileLastWriteTime
- FileSize
- FileSizeInMegaBytes
- PathExists
- PathNormalize
- PathIsFile
- PathIsDirectory
- PathExtractName
- PathExtractNameWithoutExt
- PathExtractExt
- PathExtractDir
- PathJoin
- PathSetSeperators
- PathExcludeTrailingSep
- PathIncludeTrailingSep
- PathExcludeLeadingSep
- PathIncludeLeadingSep
- PathExtractRelative
- PathChangeExt
- PathIsInDir
- DirList
- DirSearch
- DirCreate
- DirDelete
- DirExists
- DirParent
- DirIsEmpty
- DirSize
- DirSizeInMegaBytes
- GetUserDir
- GetTempDir
- GetTempFileName
- Image
- TImage is a data type that holds an image. This is used manipulate and process an image such as resizing, rotating, bluring and much more. Or simply get/set a pixel color at a given (x,y) coord.
- TImage.Create
- TImage.Create
- TImage.Create
- TImage.CreateFromString
- TImage.CreateFromZip
- Load an image from a file inside a zip file.
- TImage.CreateFromMatrix
- TImage.CreateFromMatrix
- TImage.Free
- TImage.Data
- TImage.Width
- TImage.Height
- TImage.Center
- TImage.GetDefaultPixel
- TImage.SetDefaultPixel
- TImage.GetDrawColor
- TImage.SetDrawColor
- TImage.GetDrawAlpha
- TImage.SetDrawAlpha
- TImage.GetFontName
- TImage.SetFontName
- TImage.GetFontSize
- TImage.SetFontSize
- TImage.GetFontAntialiasing
- TImage.SetFontAntialiasing
- TImage.GetFontBold
- TImage.SetFontBold
- TImage.GetFontItalic
- TImage.SetFontItalic
- TImage.GetAlpha
- TImage.SetAlpha
- TImage.GetPixel
- TImage.SetPixel
- TImage.GetPixels
- TImage.SetPixels
- TImage.SetPixels
- TImage.InImage
- TImage.SetSize
- TImage.Fill
- Fill the entire image with a color.
- TImage.FillWithAlpha
- Set the entire images alpha value.
- TImage.Clear
- Fills the entire image with the default pixel.
- TImage.Clear
- Fills the given area with the default pixel.
- TImage.ClearInverted
- Fills everything but given area with the default pixel.
- TImage.Copy
- TImage.Copy
- TImage.Crop
- TImage.Pad
- Pad an
Amount
pixel border around the entire image. - TImage.Offset
- Offset the entire images content within itself.
- TImage.SplitChannels
- TImage.SplitChannels
- TImage.GetColors
- TImage.GetColors
- TImage.ReplaceColor
- TImage.ReplaceColor
- TImage.Resize
- TImage.Resize
- TImage.Rotate
- TImage.Downsample
- TImage.Downsample
- Downsample but points in
IgnorePoints
are not sampled from. - TImage.Mirror
- TImage.TextWidth
- TImage.TextHeight
- TImage.TextSize
- TImage.DrawText
- TImage.DrawText
- TImage.DrawTextLines
- TImage.DrawImage
- TImage.DrawATPA
- Draws every TPA in the ATPA.
- TImage.DrawTPA
- Draws a TPointArray.
- TImage.DrawLine
- TImage.DrawLineGap
- TImage.DrawCrosshairs
- TImage.DrawCross
- TImage.DrawBox
- TImage.DrawBoxFilled
- TImage.DrawBoxInverted
- TImage.DrawPolygon
- TImage.DrawPolygonFilled
- TImage.DrawPolygonInverted
- TImage.DrawQuad
- TImage.DrawQuadFilled
- TImage.DrawQuadInverted
- TImage.DrawCircle
- TImage.DrawCircleFilled
- TImage.DrawCircleInverted
- TImage.DrawLineAA
- TImage.DrawEllipseAA
- TImage.DrawCircleAA
- TImage.DrawQuadArray
- TImage.DrawBoxArray
- TImage.DrawPolygonArray
- TImage.DrawCircleArray
- TImage.DrawCrossArray
- TImage.DrawHSLCircle
- TImage.Sobel
- Applies a sobel overator on the image, and returns it.
- TImage.Enhance
- TImage.GreyScale
- TImage.Brightness
- TImage.Invert
- TImage.Posterize
- TImage.Convolute
- TImage.ThresholdAdaptive
- TImage.ThresholdSauvola
- Radius = Window size Invert = Invert output R = dynamic range of standard deviation (default = 128) K = constant value in range 0.2..0.5 (default = 0.5)
- TImage.Blend
- TImage.Blend
- Blend but points in
IgnorePoints
are not sampled from. - TImage.Blur
- TImage.ToMatrix
- TImage.ToMatrix
- TImage.FromMatrix
- Resizes the image to the matrix dimensions and draws the matrix.
- TImage.FromMatrix
- Resizes the image to the matrix dimensions and draws the matrix. ColorMapType can be: 0: cold blue to red 1: black -> blue -> red 2: white -> blue -> red 3: light (to white) 4: light (to black)
- TImage.FromString
- TImage.FromData
- TImage.Load
- TImage.Load
- TImage.Save
- TImage.SaveToString
- TImage.Equals
- TImage.Compare
- TImage.PixelDifference
- TImage.PixelDifference
- TImage.PixelDifferenceTPA
- TImage.PixelDifferenceTPA
- TImage.ToLazBitmap
- TImage.LoadFromLazBitmap
- TImage.SaveUnfreedImagesInDir
- TImage.LoadFontsInDir
- Loads all “.ttf” fonts in the given directory.
- TImage.Fonts
- Returns all the loaded font names.
- TImage.Finder
- Returns a TSimbaFinder which is targetted to the image.
- TImage.CreateFromTarget
- TImage.CreateFromTarget
- TImage.DrawTarget
- TImage.DrawTarget
- TImage.Show
- JSON
- JSON parser.
It is
Variant
based. - TJSONElement.Keys
- TJSONElement.Count
- TJSONElement.GetItem
- TJSONElement.AddValue
- TJSONElement.AddArray
- TJSONElement.AddArray
- TJSONElement.AddObject
- TJSONElement.AddNull
- TJSONElement.AddElement
- TJSONElement.ValueType
- TJSONElement.GetValue
- TJSONElement.SetValue
- TJSONElement.AsString
- TJSONElement.Clone
- TJSONElement.IsValue
- TJSONElement.IsArray
- TJSONElement.IsObject
- TJSONElement.Delete
- TJSONElement.Delete
- TJSONElement.Clear
- TJSONElement.Find
- TJSONElement.HasKey
- Returns
True
if theKey
exists in the JSON object. - TJSONElement.HasKey
- Returns
True
if any of theKeys
exists in the JSON object. - TJSONElement.HasKeys
- Returns
True
if allKeys
exists in the JSON object. - TJSONParser.Create
- TJSONParser.CreateFromFile
- TJSONParser.SaveToFile
- TJSONParser.Clear
- TJSONParser.AddNull
- TJSONParser.AddValue
- TJSONParser.AddArray
- TJSONParser.AddObject
- TJSONParser.AddElement
- TJSONParser.Count
- TJSONParser.GetItem
- TJSONParser.AsString
- TJSONParser.Find
- TJSONParser.Delete
- TJSONParser.Delete
- TJSONParser.FindPath
- TJSONParser.Keys
- TJSONParser.HasKey
- Returns
True
if theKey
exists in the root JSON parser. - TJSONParser.HasKey
- Returns
True
if any of theKeys
exists in the root JSON parser. - TJSONParser.HasKeys
- JSON parser.
It is
- Match Template
- Math
- Math functions
- Distance
- Distance
- LogN
- Sar
- Ror
- Rol
- DegToRad
- RadToDeg
- RadNormalize
- DegNormalize
- Log2
- Log10
- NextPower2
- Modulo
- Modulo
- DeltaAngle
- ExpandPolygon
- PolygonArea
- CrossProduct
- CrossProduct
- LinesIntersect
- LinesIntersect
- DistToLine
- DistToLine
- PointInTriangle
- PointInBox
- PointInQuad
- PointInPolygon
- PointInCircle
- PointInEllipse
- IsNumber
- IsNumber
- Matrix
- Matrix related methods.
- TIntegerMatrix.Width
- TIntegerMatrix.Height
- TIntegerMatrix.SetSize
- TIntegerMatrix.Area
- TIntegerMatrix.GetSize
- TIntegerMatrix.GetValues
- TIntegerMatrix.SetValue
- TIntegerMatrix.SetValues
- TIntegerMatrix.Fill
- TIntegerMatrix.Fill
- TIntegerMatrix.Flatten
- TIntegerMatrix.Indices
- TIntegerMatrix.Copy
- TIntegerMatrix.Copy
- TBooleanMatrix.Width
- TBooleanMatrix.Height
- TBooleanMatrix.SetSize
- TBooleanMatrix.Area
- TBooleanMatrix.GetSize
- TSingleMatrix.Width
- TSingleMatrix.Height
- TSingleMatrix.SetSize
- TSingleMatrix.Area
- TSingleMatrix.GetSize
- TSingleMatrix.GetValues
- TSingleMatrix.SetValues
- TSingleMatrix.SetValue
- TSingleMatrix.Fill
- TSingleMatrix.Fill
- TSingleMatrix.Flatten
- TSingleMatrix.ToIntegerMatrix
- TSingleMatrix.Mean
- TSingleMatrix.MeanStdev
- TSingleMatrix.MinMax
- TSingleMatrix.Min
- TSingleMatrix.Max
- TSingleMatrix.ArgMax
- TSingleMatrix.ArgMin
- TSingleMatrix.NormMinMax
- TSingleMatrix.Indices
- TSingleMatrix.ArgMulti
- TSingleMatrix.Smoothen
- TSingleMatrix.Equals
- TSingleMatrix.Copy
- TSingleMatrix.Copy
- TSingleMatrix.Rot90
- TSingleMatrix.ArgExtrema
- TDoubleMatrix.Width
- TDoubleMatrix.Height
- TDoubleMatrix.SetSize
- TDoubleMatrix.Area
- TDoubleMatrix.GetSize
- Misc
- Miscellaneous methods that dont go in any other sections.
- SimbaEnv
- ClearSimbaOutput
- Clear the scripts output box in Simba.
- SetSimbaSetting
- GetSimbaSetting
- PlaySound
- StopSound
- Simba
- SetClipBoard
- Sets the systems clipboard string.
- GetClipBoard
- Returns the systems clipboard string.
- ShowComboDialog
- ShowQueryDialog
- ShowMessage
- ShowDTMEditor
- ShowACA
- ShowDirectoryDialog
- ShowQuestionDialog
- ShowTrayNotification
- SetSimbaTitle
- GetSimbaPID
- Returns the Simba’s PID this script is running in.
- GetSimbaTargetPID
- Returns the current Simba target PID (what is selected with the crosshair)
- GetSimbaTargetWindow
- Returns the current Simba target window (what is selected with the crosshair)
- SaveScreenshot
- Saves a screenshot of the current target. Returns the screenshot path, which will be in Simba’s Screenshots directory.
- SaveScreenshot
- Saves a screenshot of the current target to the given filename.
- AddOnTerminate
- Adds a procedure to be called when the script is terminated.
- AddOnUserTerminate
- Adds a procedure to be called when the script is terminated with the stop button being clicked.
- AddOnPause
- Adds a procedure to be called when the script is paused.
- AddOnResume
- Adds a procedure to be called when the script is resumed from pause.
- AddOnResume
- Adds a procedure to be called when the script is resumed from pause.
- TerminateScript
- Instantly terminates the script!
- PauseScript
- Process
- Process related things.
- GetScriptPID
- Returns the process ID of the running script.
- GetScriptParameters
- Returns all command line parameters passed to the script.
- GetScriptParameter
- Returns a command line parameter value passed to the script.
Parameters should be passed as a key-pair value:
Name=Value
- RunScript
- RunScript
- RunScriptOutputToFile
- RunCommandInDir
- RunCommandInDir
- RunCommand
- RunCommand
- RunCommandTimeout
- IsProcessRunning
- IsProcess64Bit
- GetProcessPath
- GetProcessMemUsage
- GetProcessStartTime
- GetProcessRunnningTime
- TerminateProcess
- GetEnvVar
- GetEnvVars
- Random
- Methods relating to generating random numbers.
- Random
- Random
- Random
- RandSeed
- The random seed used for all random number generation.
- RandCutoff
- Cutoff for
RandomLeft
,RandomRight
,RandomMode
,RandomMean
- RandomCenterTPA
- Generates random points in
Box
weighted towards the center. - RandomTPA
- Generates random points in
Box
. - RandomShapes
- RandomLeft
- Generates a random number between
Lo
andHi
weighted towardsLo
- RandomRight
- Generates a random number between
Lo
andHi
weighted towardsHi
- RandomMean
- Generates a random number between
Lo
andHi
weighted towards the mean of Lo,Hi - RandomMode
- Generates a random number between
Lo
andHi
weighted torwardsMode
- GaussRand
- Generates a random gaussian/normal number.
- Randomize
- String
- String methods
- String.Before
- String.After
- String.StartsWith
- String.Equals
- String.EqualsIgnoreCase
- String.Compare
- String.Hash
- String.EndsWith
- String.IsUpper
- String.IsLower
- String.ToUpper
- String.ToLower
- String.Capitalize
- String.SwapCase
- String.Join
- String.Split
- String.SplitLines
- String.PadLeft
- String.PadRight
- String.Partition
- String.Replace
- String.Replace
- String.Trim
- String.TrimLeft
- String.TrimRight
- String.Trim
- String.TrimLeft
- String.TrimRight
- String.RegExprSplit
- String.RegExprFind
- String.RegExprFindAll
- String.RegExprExists
- String.CopyRange
- String.DeleteRange
- String.Remove
- String.RemoveAll
- String.IndexOf
- String.IndexOf
- String.LastIndexOf
- String.LastIndexOf
- String.IndicesOf
- String.IndicesOf
- String.Between
- String.BetweenAll
- String.NumberChars
- String.LowerChars
- String.UpperChars
- String.AlphaChars
- String.AlphaNumChars
- String.Extract
- String.ExtractInteger
- String.ExtractFloat
- String.IsAlphaNum
- String.IsInteger
- String.IsFloat
- String.Count
- String.CountAll
- String.Contains
- String.ContainsAny
- String.IndexOfAny
- String.IndexOfAny
- String.Format
- String.ToBoolean
- String.ToBoolean
- String.ToInteger
- String.ToInteger
- String.ToInt64
- String.ToInt64
- String.ToSingle
- String.ToSingle
- String.ToDouble
- String.ToDouble
- String.ToDateTime
- in
- in
- Char.IsAlphaNum
- Char.IsInteger
- Char.IsFloat
- Char.IsUpper
- Char.IsLower
- Char.ToUpper
- Char.ToLower
- Char.Capitalize
- Char.Join
- in
- in
- T2DPointArray
- Methods relating to arrays of TPointArray.
- T2DPointArray.Offset
- T2DPointArray.Offset
- T2DPointArray.Sort
- T2DPointArray.Sort
- T2DPointArray.SortFromSize
- T2DPointArray.SortFromIndex
- T2DPointArray.SortFromFirstPoint
- T2DPointArray.SortFromFirstPointX
- T2DPointArray.SortFromFirstPointY
- T2DPointArray.SortFrom
- T2DPointArray.SortByArea
- T2DPointArray.SortBySize
- T2DPointArray.SortByDensity
- T2DPointArray.SortByX
- T2DPointArray.SortByY
- T2DPointArray.SortByShortSide
- T2DPointArray.SortByLongSide
- T2DPointArray.ExtractSize
- T2DPointArray.ExtractSizeEx
- T2DPointArray.ExtractDimensions
- T2DPointArray.ExtractDimensionsEx
- T2DPointArray.ExcludeSize
- T2DPointArray.ExcludeSizeEx
- T2DPointArray.ExcludeDimensions
- T2DPointArray.ExcludeDimensionsEx
- T2DPointArray.Smallest
- T2DPointArray.Largest
- T2DPointArray.Bounds
- T2DPointArray.BoundsArray
- T2DPointArray.Mean
- T2DPointArray.Means
- T2DPointArray.Merge
- T2DPointArray.Intersection
- TBox
- Box
- Box
- TBox.Create
- TBox.Create
- TBox.EqualDimensions
- TBox.Area
- TBox.Expand
- TBox.Expand
- TBox.Expand
- TBox.Expand
- TBox.Extract
- Returns all points that are inside the box.
- TBox.Exclude
- Returns all points that are not inside the box.
- TBox.Contains
- TBox.Contains
- TBox.Contains
- TBox.Contains
- TBox.Partition
- TBox.Offset
- TBox.Offset
- TBox.Combine
- TBox.Invert
- TBox.NearestEdge
- TBox.Intersect
- TBox.Clip
- TBox.Normalize
- TBox.Width
- TBox.Height
- TBox.Center
- TBox.Corners
- TBox.ToQuad
- Converts the TBox to a TQuad type.
- TBox.RandomPoint
- Returns a completely random point in the box.
- TBox.RandomPointCenter
- TBoxArray
- TBoxArray methods
- TBoxArray.Create
- TBoxArray.Pack
- TBoxArray.SortFrom
- TBoxArray.SortByX
- TBoxArray.SortByY
- TBoxArray.SortByWidth
- TBoxArray.SortByHeight
- TBoxArray.SortByArea
- TBoxArray.Merge
- TBoxArray.Centers
- TBoxArray.Offset
- TBoxArray.Offset
- TBoxArray.Expand
- TBoxArray.Expand
- TBoxArray.ContainsPoint
- TBoxArray.ContainsPoint
- TBoxArray.Sort
- TBoxArray.Sort
- TBoxArray.SymmetricDifference
- TBoxArray.Difference
- TBoxArray.Intersection
- TCircle
- Record that contains center point and radius.
- TCircle.Create
- TCircle.CreateFromPoints
- TCircle.ToTPA
- TCircle.Bounds
- TCircle.Contains
- TCircle.PointAtDegrees
- TCircle.RandomPoint
- Returns a completely random point in the circle.
- TCircle.RandomPointCenter
- Returns a random point in the circle which is weighted torwards the circle’s center.
- TCircle.Circumference
- Returns the distance around the outside of a circle.
- TCircle.Center
- Returns the center point of the circle.
- TCircle.Circularity
- TCircle.Area
- Returns the area the circle covers.
- TCircle.Area
- Returns the area the circle covers.
- TCircle.Area
- Returns the area the circle covers.
- TCircle.Extract
- Returns the points that are in the circle.
- TCircle.Exclude
- Returns the points that are not inside the circle.
- in
- TPoint
- The TPoint type is a record which defines a X,Y coordinate.
- Point
- TPoint.Create
- TPoint.InPolygon
- TPoint.InCircle
- TPoint.InTriangle
- TPoint.InBox
- TPoint.DistanceTo
- TPoint.Rotate
- TPoint.RotateFast
- TPoint.Magnitude
- TPoint.AngleBetween
- TPoint.Offset
- TPoint.Offset
- TPoint.Random
- TPoint.Random
- TPoint +
- TPoint +=
- TPoint *
- TPoint *=
- TPoint -
- TPoint -=
- TPoint in
- TPointArray
- Methods relating to point arrays.
- TPointArray.Difference
- TPointArray.SymmetricDifference
- TPointArray.Intersection
- TPointArray.CreateFromBox
- TPointArray.CreateFromEllipse
- TPointArray.CreateFromCircle
- TPointArray.CreateFromLine
- TPointArray.CreateFromPolygon
- TPointArray.CreateFromSimplePolygon
- TPointArray.CreateFromAxes
- TPointArray.Rows
- TPointArray.Columns
- TPointArray.Equals
- TPointArray.Offset
- TPointArray.Offset
- TPointArray.FloodFill
- TPointArray.Invert
- TPointArray.Invert
- TPointArray.Bounds
- TPointArray.Mean
- TPointArray.ReduceByDistance
- TPointArray.PointsNearby
- TPointArray.PointsNearby
- TPointArray.IsPointNearby
- TPointArray.IsPointNearby
- TPointArray.FurthestPoints
- TPointArray.NearestPoint
- TPointArray.Density
- TPointArray.Connect
- TPointArray.Extremes
- TPointArray.Rotate
- TPointArray.RotateEx
- TPointArray.Sort
- TPointArray.Sort
- TPointArray.SortByX
- TPointArray.SortByY
- TPointArray.SortFrom
- TPointArray.SortByRow
- TPointArray.SortByColumn
- TPointArray.ExcludePie
- Returns all points from
Self
are not inside the “pie slice” defined by StartDegree, EndDegree and MinRadius, MaxRadius and Center. Note: Inverse ofExcludePie
- TPointArray.ExcludeDist
- Returns all points from
Self
that are not withinMinDist
andMaxDist
fromCenter
Note: Inverse ofExtractDist
- TPointArray.ExcludePoints
- Returns all points from
Self
that are not inside thePoints
array. - TPointArray.ExcludePolygon
- Returns all points from
Self
that are not inside the polygon. Note: Inverse ofExtractPolygon
- TPointArray.ExcludeBox
- Returns all points from
Self
that not inside the box. Note: Inverse ofExtractBox
- TPointArray.ExcludeQuad
- Returns all points from
Self
that not inside the quad. Note: Inverse ofExtractQuad
- TPointArray.ExtractDist
- Returns all points from
Self
that are withinMinDist
andMaxDist
fromCenter
Note: Inverse ofExtractDist
- TPointArray.ExtractPolygon
- Returns all points from
Self
that are inside the polygon. - TPointArray.ExtractBox
- Returns all points from
Self
that are inside the box. - TPointArray.ExtractQuad
- Returns all points from
Self
that are inside the quad. - TPointArray.ExtractPie
- Returns all points from
Self
are inside the “pie slice” defined by StartDegree, EndDegree and MinRadius, MaxRadius and Center. - TPointArray.Skeleton
- TPointArray.Border
- TPointArray.Edges
- TPointArray.ConvexHull
- TPointArray.ShapeFill
- TPointArray.Unique
- TPointArray.Split
- TPointArray.Split
- TPointArray.Cluster
- TPointArray.Cluster
- TPointArray.MinAreaRect
- TPointArray.MinAreaCircle
- TPointArray.Erode
- TPointArray.Grow
- TPointArray.Partition
- TPointArray.Partition
- TPointArray.PartitionEx
- TPointArray.PartitionEx
- PartitionEx with StartPoint.
- TPointArray.SortCircular
- TPointArray.DistanceTransform
- TPointArray.Circularity
- TPointArray.DouglasPeucker
- TPointArray.ConcaveHull
- TPointArray.ConcaveHullEx
- TPointArray.ConvexityDefects
- TQuad
- TQuad.Create
- TQuad.Create
- TQuad.Create
- TQuad.ToTPA
- TQuad.Bounds
- TQuad.ShortSideLen
- TQuad.LongSideLen
- TQuad.Mean
- TQuad.Rotate
- TQuad.Contains
- TQuad.Contains
- TQuad.Offset
- TQuad.Offset
- TQuad.Extract
- Returns all points that are in the quad.
- TQuad.Exclude
- Returns all points that are not inside the quad.
- TQuad.Expand
- TQuad.NearestEdge
- TQuad.Area
- TQuad.Normalize
- TQuad.RandomPoint
- Returns a completely random point in the quad.
- TQuad.RandomPointCenter
- Returns a random point in the quad which is weighted torwards the quad’s center.
- in
- Window Handle
- TWindowHandle.Activate
- TWindowHandle.IsValid
- TWindowHandle.IsActive
- TWindowHandle.IsVisible
- TWindowHandle.GetPID
- TWindowHandle.GetRootWindow
- TWindowHandle.GetTitle
- TWindowHandle.GetClassName
- TWindowHandle.GetTitleW
- TWindowHandle.GetClassNameW
- TWindowHandle.GetBounds
- TWindowHandle.GetChildren
- TWindowHandle.SetBounds
- TWindowHandle.Kill
- GetTopWindows
- GetVisibleWindows
- GetWindows
- GetActiveWindow
- GetDesktopWindow
- GetWindowAtCursor
- FindWindow
- FindWindows
- FindChildWindow
- FindChildWindows
- Target
- Target related methods.
- TTarget.SetDesktop
- Sets the desktop as the target.
- TTarget.SetImage
- TTarget.SetWindow
- Sets a window handle as a target.
- TTarget.SetEIOS
- Sets a plugin (via EIOS API) as the target.
- TTarget.SetPlugin
- Sets a plugin (via SimbaPluginTarget API) as the target. For more details about the API see http://villavu.github.io/Simba/tutorials/plugins/plugin-target.html
- TTarget.SetPlugin
- Overloaded version that returns a external image to draw on.
- TTarget.RemoveTargetInvalidEvent
- TTarget.AddTargetChangeEvent
- TTarget.RemoveTargetChangeEvent
- TTarget.FreezeImage
- TTarget.UnFreezeImage
- TTarget.IsImageFrozen
- TTarget.GetImage
- TTarget.IsValid
- TTarget.IsFocused
- TTarget.Focus
- TTarget.ToString
- TTarget.TargetKind
- TTarget.TargetWindow
- TTarget.TargetImage
- TTarget.CustomClientArea
- TTarget.AutoFocus
- TTarget.Bounds
- TTarget.Width
- TTarget.Height
- TTarget.Size
- Returns the targets dimensions as in a TSize.
- TTarget.AddMouseEvent
- TTarget.RemoveMouseEvent
- TTarget.MouseTeleport
- Instantly moves the mouse to
P
- TTarget.MouseClick
- TTarget.MouseDown
- TTarget.MouseUp
- TTarget.MouseScroll
- TTarget.MousePressed
- TTarget.MouseMove
- TTarget.MouseXY
- TTarget.MouseX
- TTarget.MouseY
- TTarget.AddTargetInvalidEvent
- TTarget.KeySend
- TTarget.KeyDown
- TTarget.KeyUp
- TTarget.KeyPress
- TTarget.KeyPressed
- TTarget.KeyCodeFromChar
- TTarget.MatchColor
- TTarget.FindColor
- TTarget.FindColor
- TTarget.FindColor
- TTarget.CountColor
- TTarget.CountColor
- TTarget.CountColor
- TTarget.HasColor
- TTarget.HasColor
- TTarget.HasColor
- TTarget.GetColor
- TTarget.GetColors
- TTarget.GetColorsMatrix
- TTarget.HasImage
- TTarget.HasImage
- TTarget.FindImage
- TTarget.FindImage
- TTarget.FindImageEx
- TTarget.FindImageEx
- TTarget.FindTemplate
- TTarget.HasTemplate
- TTarget.FindDTM
- TTarget.FindDTMEx
- TTarget.FindDTMRotated
- TTarget.FindDTMRotatedEx
- TTarget.FindEdges
- TTarget.FindEdges
- TTarget.GetPixelDifference
- TTarget.GetPixelDifference
- TTarget.GetPixelDifferenceTPA
- TTarget.GetPixelDifferenceTPA
- TTarget.AverageBrightness
- TTarget.PeakBrightness
- Timing
- Timing
- Sleep
- PreciseSleep
- MillisecondsToTime
- Converts time (in milliseconds) to days,hours,mins and seconds. Any remaining milliseconds are returned in the Result.
- MillisecondsToTime
- Converts time (in milliseconds) to years,months,weeks,days,hours,mins and seconds. Any remaining milliseconds are returned in the Result.
- PerformanceTimer
- FormatMilliseconds
- FormatMilliseconds
- GetTimeRunning
- Returns the current script runtime in milliseconds.
- GetTickCount
- Web
- TSimbaHTTPClient.Create
- TSimbaHTTPClient.CreateWithProxy
- Variant which uses a proxy for all connections.
- TSimbaHTTPClient.OnDownloadProgress
- TSimbaHTTPClient.OnExtractProgress
- TSimbaHTTPClient.ConnectTimeout
- TSimbaHTTPClient.ReadWriteTimeout
- TSimbaHTTPClient.Cookies
- TSimbaHTTPClient.ResponseStatus
- TSimbaHTTPClient.ResponseHeaders
- TSimbaHTTPClient.ResponseHeader
- TSimbaHTTPClient.RequestHeader
- TSimbaHTTPClient.Reset
- TSimbaHTTPClient.Get
- Return a webpages content as a string.
- TSimbaHTTPClient.GetJson
- TSimbaHTTPClient.GetFile
- Save a webpages content to a local file.
- TSimbaHTTPClient.GetZip
- TSimbaHTTPClient.Head
- Header request. Headers will be written to
HTTPClient.GetResponseHeaders()
- TSimbaHTTPClient.Post
- TSimbaHTTPClient.Patch
- TSimbaHTTPClient.Put
- TSimbaHTTPClient.Delete
- TSimbaHTTPClient.Options
- TSimbaHTTPClient.PostForm
- Post form data (www-urlencoded)
- TSimbaHTTPClient.PostFormFile
- Post form with a local file file
- URLOpenInBrowser
- Opens a URL in the systems default internet browser.
- URLFetch
- Simple method to return the contents of a webpage.
- URLFetchToFile
- Simple method to download the contents of a webpage to a file.
- URLEncode
- URL encode a string. For example a space character is changed to
%20
. - URLDecode
- Inverse of EncodeURLElement.
- TSimbaInternetSocket.Create
- Basic internet socket functionality. The socket is blocking which means Read calls will wait for data to arrive. Use either SetReadWriteTimeout() / HasData() / ReadStringUntil() to avoid hanging.
- TSimbaInternetSocket.Connect
- Connects to the host and port.
- TSimbaInternetSocket.HasData
- Returns true if there is data waiting to be read.
- TSimbaInternetSocket.ReadString
- Read a string from the socket up to
MaxLen
bytes. - TSimbaInternetSocket.ReadStringUntil
- Reads a string until the data ends with
Seq
orTimeout
(in milliseconds) is reached. This is useful if you are reading data which is terminated with consistent endings. - TSimbaInternetSocket.WriteString
- Write a string to the socket.
- TSimbaInternetSocket.GetReadWriteTimeout
- Returns the timeout (in milliseconds) on Read/Write operations.
- TSimbaInternetSocket.SetReadWriteTimeout
- Sets the timeout (in milliseconds) on Read/Write operations.
- TSimbaInternetSocket.GetConnectTimeout
- Returns the connect timeout (in milliseconds).
- TSimbaInternetSocket.SetConnectTimeout
- Sets the connect timeout (in milliseconds).
- TSimbaInternetSocket.LastError
- Returns the sockets last error code.
- LoadSSL