-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathIcicle.fs
More file actions
53 lines (42 loc) · 1.52 KB
/
Icicle.fs
File metadata and controls
53 lines (42 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
namespace Plotly.NET.TraceObjects
open Plotly.NET
open Plotly.NET.LayoutObjects
open DynamicObj
open System
open System.Runtime.InteropServices
type IcicleRoot() =
inherit DynamicObj()
static member init(?Color: Color) =
IcicleRoot() |> IcicleRoot.style (?Color = Color)
static member style(?Color: Color) =
fun (icicleRoot: IcicleRoot) ->
icicleRoot
|> DynObj.withOptionalProperty "color" Color
type IcicleLeaf() =
inherit DynamicObj()
static member init(?Opacity: float) =
IcicleLeaf() |> IcicleLeaf.style (?Opacity = Opacity)
static member style(?Opacity: float) =
fun (icicleLeaf: IcicleLeaf) ->
icicleLeaf
|> DynObj.withOptionalProperty "opacity" Opacity
type IcicleTiling() =
inherit DynamicObj()
static member init
(
?Flip: StyleParam.TilingFlip,
?Orientation: StyleParam.Orientation,
?Pad: int
) =
IcicleTiling() |> IcicleTiling.style (?Flip = Flip, ?Orientation = Orientation, ?Pad = Pad)
static member style
(
?Flip: StyleParam.TilingFlip,
?Orientation: StyleParam.Orientation,
?Pad: int
) =
fun (icicleTiling: IcicleTiling) ->
icicleTiling
|> DynObj.withOptionalPropertyBy "flip" Flip StyleParam.TilingFlip.convert
|> DynObj.withOptionalPropertyBy "orientation" Orientation StyleParam.Orientation.convert
|> DynObj.withOptionalProperty "pad" Pad