アットウィキロゴ
 
p.4
NiVE2.Plugin.Interface
*class PropertyBase
プロパティの「値」を表現するオブジェクトです。
*class PropertySetBase : PropertyBase
名前やメソッドから察するに、折りたたみ可能なプロパティに関係する?
*class AddablePropertyBase : PropertyBase
可変長プロパティを表すクラス・・・らしい。

p.7
NiVE2.Plugin.Property
class NumberProperty : PropertyBase
class VertexProperty : PropertyBase
class RadianProperty : PropertyBase
class BooleanProperty : PropertyBase
class StringProperty : PropertyBase
class ColorProperty : PropertyBase
class SelectableProperty : PropertyBase
class FontProperty : PropertyBase


PropertyBase

Summary
PropertyBase(string name)
string PropertyName
プロパティの名前。
*object Value
プロパティの値。
*PropertyInterpolationType SupportedInterpolationType
このプロパティがサポートする補間タイプ。
*PropertyBase Interpolation(KeyFrame[] keyframes, double time)
渡されたキーフレームから補間を行います。
*PropertyBase Copy()
コピーを返します。
*PropertyBase PasteProperty(PropertyBase property)
プロパティの貼り付けの際に必要な変換処理を行います。
*PropertyBase[] PasteProperty(PropertyBase[] properties)
プロパティの貼り付けの際に必要な変換処理を行います。
*bool Equals(PropertyBase obj)
同じ値を表すならば真を返します。


PropertySetBase

Summary
PropertySetBase(string name)
int PropertyCode
(AddablePropertyBaseに?)追加されたときに与えられる固有の番号。
string PropertyLabelName
プロパティの表示名。
*PropertyBase Properties
このプロパティが保持する設定可能なプロパティ。
*PropertyEditControlBase GetControl()
このプロパティが保持するプロパティを編集するためのコントロールを返します。
*void InitializeDefaultProperty()
プロパティを初期化します。


AddablePropertyBase

Summary
AddablePropertyBase(string name)
*Type[] PropertyTypes
CreateProperty() の引数に使用可能な型たちを配列にまとめたもの・・・だと思います。
これらの型は必ず PropertySetBase のサブクラスらしいです。
*PropertySetBase[] Properties
現在追加されているプロパティ。
*PropertySetBase CreateProperty(Type propertyType)
新しいプロパティを作成します。


NiVE2.Plugin.Property

NumberProperty

Summary
NumberProperty(string name, double value, double max, double min)
NumberProperty(double value, NumberProperty otherSettings)


VertexProperty

Summary
VertexProperty


RadianProperty

Summary
RadianProperty(string name, int rotation, double angle)


BooleanProperty

Summary
BooleanProperty(string name, bool value)


StringProperty

Summary
StringProperty(string name, string text)


ColorProperty

Summary
ColorProperty(string name, Color color)


SelectableProperty

Summary
SelectableProperty(string name, int index, string[] items)


FontProperty

Summary
FontProperty(string name, Font font)






最終更新:2010年03月20日 11:46