-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathSurface.fs
More file actions
35 lines (29 loc) · 952 Bytes
/
Surface.fs
File metadata and controls
35 lines (29 loc) · 952 Bytes
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
namespace Plotly.NET.TraceObjects
open Plotly.NET
open Plotly.NET.LayoutObjects
open DynamicObj
open System
open System.Runtime.InteropServices
type Surface() =
inherit DynamicObj()
static member init
(
?Count: int,
?Fill: float,
?Pattern: StyleParam.SurfacePattern,
?Show: bool
) =
Surface() |> Surface.style (?Count = Count, ?Fill = Fill, ?Pattern = Pattern, ?Show = Show)
static member style
(
?Count: int,
?Fill: float,
?Pattern: StyleParam.SurfacePattern,
?Show: bool
) =
fun (surface: Surface) ->
surface
|> DynObj.withOptionalProperty "count" Count
|> DynObj.withOptionalProperty "fill" Fill
|> DynObj.withOptionalPropertyBy "pattern" Pattern StyleParam.SurfacePattern.convert
|> DynObj.withOptionalProperty "show" Show