예제 #1
0
 /// <summary>Construct a PathEffect whose effect is to apply two effects, in sequence.
 ///     </summary>
 /// <remarks>
 /// Construct a PathEffect whose effect is to apply two effects, in sequence.
 /// (e.g. first(path) + second(path))
 /// </remarks>
 public SumPathEffect(android.graphics.PathEffect first, android.graphics.PathEffect
                      second)
 {
     native_instance = nativeCreate(first.native_instance, second.native_instance);
 }
예제 #2
0
파일: Paint.cs 프로젝트: hakeemsm/XobotOS
		/// <summary>
		/// Set all class variables using current values from the given
		/// <see cref="Paint">Paint</see>
		/// .
		/// </summary>
		private void setClassVariablesFrom(android.graphics.Paint paint)
		{
			mColorFilter = paint.mColorFilter;
			mMaskFilter = paint.mMaskFilter;
			mPathEffect = paint.mPathEffect;
			mRasterizer = paint.mRasterizer;
			mShader = paint.mShader;
			mTypeface = paint.mTypeface;
			mXfermode = paint.mXfermode;
			mHasCompatScaling = paint.mHasCompatScaling;
			mCompatScaling = paint.mCompatScaling;
			mInvCompatScaling = paint.mInvCompatScaling;
			hasShadow = paint.hasShadow;
			shadowDx = paint.shadowDx;
			shadowDy = paint.shadowDy;
			shadowRadius = paint.shadowRadius;
			shadowColor = paint.shadowColor;
			mBidiFlags = paint.mBidiFlags;
		}
예제 #3
0
 public ComposePathEffect(android.graphics.PathEffect arg0, android.graphics.PathEffect arg1)  : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
 {
     global::MonoJavaBridge.JNIEnv         @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.graphics.ComposePathEffect.staticClass, global::android.graphics.ComposePathEffect._ComposePathEffect3302, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
     Init(@__env, handle);
 }
예제 #4
0
파일: Paint.cs 프로젝트: hakeemsm/XobotOS
		/// <summary>Set or clear the patheffect object.</summary>
		/// <remarks>
		/// Set or clear the patheffect object.
		/// <p />
		/// Pass null to clear any previous patheffect.
		/// As a convenience, the parameter passed is also returned.
		/// </remarks>
		/// <param name="effect">May be null. The patheffect to be installed in the paint</param>
		/// <returns>effect</returns>
		public virtual android.graphics.PathEffect setPathEffect(android.graphics.PathEffect
			 effect)
		{
			android.graphics.PathEffect.NativePathEffect effectNative = null;
			if (effect != null)
			{
				effectNative = effect.native_instance;
			}
			native_setPathEffect(mNativePaint, effectNative);
			mPathEffect = effect;
			return effect;
		}
예제 #5
0
 /// <summary>
 /// Construct a PathEffect whose effect is to apply first the inner effect
 /// and the the outer pathEffect (e.g.
 /// </summary>
 /// <remarks>
 /// Construct a PathEffect whose effect is to apply first the inner effect
 /// and the the outer pathEffect (e.g. outer(inner(path))).
 /// </remarks>
 public ComposePathEffect(android.graphics.PathEffect outerpe, android.graphics.PathEffect
                          innerpe)
 {
     native_instance = nativeCreate(outerpe.native_instance, innerpe.native_instance);
 }