C# Class Invert.Core.GraphDesigner.Schemas.impl.NodeStyleSchema

Inheritance: INodeStyleSchema
ファイルを表示 Open project: InvertGames/uFrame.Editor

Public Methods

Method Description
Clone ( ) : INodeStyleSchema
GetHeaderImage ( bool expanded, Color color = default(Color), string iconName = null ) : object
GetIconImage ( string iconName, Color color = default(Color) ) : object
RecomputeStyles ( ) : INodeStyleSchema
WithHeaderColor ( NodeColor color ) : INodeStyleSchema
WithHeaderImage ( string image ) : INodeStyleSchema
WithHeaderPadding ( RectOffset padding ) : INodeStyleSchema
WithIcon ( bool shown ) : INodeStyleSchema
WithSubTitle ( bool shown ) : INodeStyleSchema
WithSubTitleFont ( string font, int fontsize, Color color, FontStyle style ) : INodeStyleSchema
WithTitle ( bool shown ) : INodeStyleSchema
WithTitleFont ( string font, int fontsize, Color color, FontStyle style ) : INodeStyleSchema

Protected Methods

Method Description
ConstructHeaderImage ( bool expanded, Color color = default(Color), string iconName = null ) : object
ConstructIcon ( string iconName, Color color = default(Color) ) : object
GetInstance ( ) : INodeStyleSchema

Method Details

Clone() public method

public Clone ( ) : INodeStyleSchema
return INodeStyleSchema

ConstructHeaderImage() protected abstract method

protected abstract ConstructHeaderImage ( bool expanded, Color color = default(Color), string iconName = null ) : object
expanded bool
color Color
iconName string
return object

ConstructIcon() protected abstract method

protected abstract ConstructIcon ( string iconName, Color color = default(Color) ) : object
iconName string
color Color
return object

GetHeaderImage() public method

public GetHeaderImage ( bool expanded, Color color = default(Color), string iconName = null ) : object
expanded bool
color Color
iconName string
return object

GetIconImage() public method

public GetIconImage ( string iconName, Color color = default(Color) ) : object
iconName string
color Color
return object

GetInstance() protected abstract method

protected abstract GetInstance ( ) : INodeStyleSchema
return INodeStyleSchema

RecomputeStyles() public method

public RecomputeStyles ( ) : INodeStyleSchema
return INodeStyleSchema

WithHeaderColor() public method

public WithHeaderColor ( NodeColor color ) : INodeStyleSchema
color NodeColor
return INodeStyleSchema

WithHeaderImage() public method

public WithHeaderImage ( string image ) : INodeStyleSchema
image string
return INodeStyleSchema

WithHeaderPadding() public method

public WithHeaderPadding ( RectOffset padding ) : INodeStyleSchema
padding UnityEngine.RectOffset
return INodeStyleSchema

WithIcon() public method

public WithIcon ( bool shown ) : INodeStyleSchema
shown bool
return INodeStyleSchema

WithSubTitle() public method

public WithSubTitle ( bool shown ) : INodeStyleSchema
shown bool
return INodeStyleSchema

WithSubTitleFont() public method

public WithSubTitleFont ( string font, int fontsize, Color color, FontStyle style ) : INodeStyleSchema
font string
fontsize int
color Color
style FontStyle
return INodeStyleSchema

WithTitle() public method

public WithTitle ( bool shown ) : INodeStyleSchema
shown bool
return INodeStyleSchema

WithTitleFont() public method

public WithTitleFont ( string font, int fontsize, Color color, FontStyle style ) : INodeStyleSchema
font string
fontsize int
color Color
style FontStyle
return INodeStyleSchema