[TypeName("Model Section Style")]
[TypeDescription("Rhino model section style")]
public sealed class ModelSectionStyle : ModelComponentContent, IGH_BakeAwareData
Represents a Rhino model section style. Wraps the functionality of the SectionStyle type.
Constructors
ModelSectionStyle
#public ModelSectionStyle()
ModelSectionStyle
#public ModelSectionStyle(Attributes attributes)
Parameters:
| attributes (ModelSectionStyle.Attributes) |
Fields
Serial
Properties
Attribs
#BackgroundFillColor
#public Color? BackgroundFillColor { get; }
BackgroundFillMode
#public SectionBackgroundFillMode? BackgroundFillMode { get; }
BackgroundFillPrintColor
#public Color? BackgroundFillPrintColor { get; }
BoundaryColor
#public Color? BoundaryColor { get; }
BoundaryLinetype
#BoundaryPrintColor
#public Color? BoundaryPrintColor { get; }
Implements: DisplayName
HatchPattern
#HatchPatternColor
#public Color? HatchPatternColor { get; }
HatchPatternPrintColor
#public Color? HatchPatternPrintColor { get; }
IsReferencedData
Implements: IsReferencedData
IsReferencedDataLoaded
Implements: IsReferencedDataLoaded
IsValid
Overrides: ModelData.IsValid
IsValidWhyNot
Overrides: ModelData.IsValidWhyNot
SectionFillRule
#public ObjectSectionFillRule? SectionFillRule { get; }
TypeDescription
Implements: TypeDescription
Implements: TypeName
Methods
AsFrozen
Try to obtain a dereferenced snapshot of itself.
Parameters:
| deep (bool = true) | Determines whether or not referenced content should also be frozen. |
Returns: Itself if it is already dereferenced.
Parameters:
| doc (RhinoDoc) | |
| att (ObjectAttributes) | |
| obj_guid (ref Guid) |
Implements: BakeGeometry
CastTo<T>
Parameters:
| target (ref T) |
Overrides: ModelData.CastTo
Parameters:
| other (ModelContent) |
Parameters:
| other (ModelData) |
Parameters:
| other (object) |
Overrides: ModelData.Equals
GetHashCode
Overrides: ModelData.GetHashCode
InternaliseData
LoadReferencedData
Implements: LoadReferencedData
RenderItem
#Parameters:
| graphics (Graphics) | |
| area (RectangleF) | |
| alpha (int) |
Overrides: ModelContent.RenderItem
Parameters:
| document (RhinoDoc) |
ToAttributes
#ToDetails
TooltipString
Overrides: ModelData.TooltipString
ToString
Overrides: ModelData.ToString
UnloadReferencedData
protected virtual void UnloadReferencedData()
Implements: UnloadReferencedData
Convertors
| Operation | Result | Description | ||
|---|---|---|---|---|
| implicit | ModelSectionStyle.Attributes | ModelSectionStyle | ||
| implicit | SectionStyle | ModelSectionStyle | ||
| implicit | string | ModelSectionStyle | ||