Open Sidebar
Close Sidebar
Tessell
0.4.1
Kit 文档
组件文档
GitHub 仓库
Tessell
A11y
Builder
Meta
Node
Role
VirtualWindow
Anim
Applier
Clock
CompositeState
Easing
Runner
Track
App
PerfCollector
FrameSample
Segment
Runner
Auto
Color
Constraints
Dimension
Fixed
Fraction
Input
Event
Kind
FocusManager
HitTest
KeyCode
Modifiers
PointerEvent
Router
Insets
Invalidation
Kit
Alignment
Barrier
Button
ButtonColors
Checkbox
Clipboard
Column
Component
ComponentRef
Container
Context
ControlSize
CoreTextMetrics
DebugInfo
DebugOverlay
Dialog
DrawListPainter
Event
Kind
FontWeight
For
Geometry
Graphemes
HAlign
HostClipboard
Image
Fit
Input
InteractionState
Key
MemoryClipboard
Metrics
Modifiers
MultiFaceTextMetrics
OverlayEntry
OverlayHost
OverlayKind
OverlayPlacement
OverlaySide
PaintCmd
Painter
PaintKind
PaintList
PaintListPainter
Palette
Root
Row
ScrollModel
ScrollThumb
ScrollView
Select
SelectorError
SelectPopup
Spacer
StubTextMetrics
SvgPainter
TabBehavior
TestDriver
Text
TextDrawing
TextEditing
TextMetrics
TextTone
Theme
Tooltip
VAlign
Variant
VirtualList
Layout
CachedNode
Direction
LayoutBox
LayoutNode
Node
Platform
Clipboard
FakeHost
Host
ImeSupport
MemoryClipboard
SDL2
Host
SdlClipboard
Point
Rect
Render
Backend
Batch
Canvas
CmdKind
Dirty
Dpi
DrawCmd
DrawList
FrameStats
GL
GLBackend
GlRenderer
Polygon
SoftwareBackend
TextBatch
TextRenderer
Theme
Vertex
Signal
Effect
FlushOverflow
Link
Memo
Node
Owner
Signal
Size
Text
CachingMeasurer
L1Entry
L2Entry
ColorBitmap
ColorRasterizer
FontMetrics
FontRef
FontSet
FontStack
Face
Weight
FT
FtMeasurer
GlyphAtlas
FrameEvictionError
Page
Shelf
GlyphKey
GlyphPlacement
GlyphSlot
HB
MeasureKey
Measurer
Rasterizer
FrameEvictionError
ShapedRunKey
ShapeKey
ShapeRun
StubMeasurer
SystemFonts
UI
Builder
Decl
DeclKind
Meta
Pool
UiKey
Widgets
VirtualList
RowHeightProc
struct
Tessell::
Point
Tessell::Point
Struct
Value
Object
Defined in:
tessell/geometry.cr
Constructors
.new
(x : Float32 =
0.0_f32
, y : Float32 =
0.0_f32
)
Instance Method Summary
#+
(other : Point) : Point
#x
: Float32
#y
: Float32
Constructor Detail
def self.
new
(x : Float32 =
0.0_f32
, y : Float32 =
0.0_f32
)
#
[
View source
]
Instance Method Detail
def
+
(other :
Point
) :
Point
#
[
View source
]
def
x
: Float32
#
[
View source
]
def
y
: Float32
#
[
View source
]