Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
blend2d
master
Blend2D
BLStructure
Geometry
Arc
ArcType
Box
BoxI
Circle
Ellipse
GeometryDirection
GeometryType
Line
Matrix
MatrixOperation
Path
Point
PointI
Rect
RectI
RoundRect
StrokeCap
StrokeCapPosition
StrokeJoin
StrokeOptions
Triangle
Globals
BLArray
BLString
Range
Imaging
Codec
Image
ImageDecoder
ImageEncoder
Rendering
CompositionOperator
Context
ContextCookie
Styling
ExtendMode
Gradient
GradientStop
GradientType
Pattern
RGBA32
RGBA64
Text
Font
FontFace
FontMetrics
GlyphBuffer
GlyphRun
TextEncoding
TextMetrics
Built with Crystal 1.9.2
2023-10-07 21:33:05 UTC
struct
Blend2D::Geometry::Line
Blend2D::Geometry::Line
Blend2D::Geometry::GeometryType
Struct
Value
Object
Defined in:
blend2d/geometry/line.cr
Constructors
.new
(x0 : Float64, y0 : Float64, x1 : Float64, y1 : Float64)
.new
(a : Point, b : Point)
Instance Method Summary
#a
#b
#x0
: Float64
#x1
: Float64
#y0
: Float64
#y1
: Float64
Instance methods inherited from struct
Blend2D::Geometry::GeometryType
initialize
initialize
,
pointer : Pointer
pointer
,
type : LibBlend2D::BLGeometryType
type
Constructor methods inherited from struct
Blend2D::Geometry::GeometryType
new
new
Constructor Detail
def self.
new
(x0 : Float64, y0 : Float64, x1 : Float64, y1 : Float64)
#
[
View source
]
def self.
new
(a :
Point
, b :
Point
)
#
[
View source
]
Instance Method Detail
def
a
#
[
View source
]
def
b
#
[
View source
]
def
x0
: Float64
#
[
View source
]
def
x1
: Float64
#
[
View source
]
def
y0
: Float64
#
[
View source
]
def
y1
: Float64
#
[
View source
]